G'day redss,
There's no need to use fork (or anything like that). The functionality you want is built in. Take a look at Tk::after.
There's a number of ways to use this. From your description, the non-blocking form you'll want in this case will probably be:
$id = $widget->after(ms?,callback?)
See that documentation for more details. Note the time is in milliseconds. The $id is only needed if you subsequently want to use $id->time(?delay?).
— Ken
In reply to Re: how to fork & join in tk?
by kcott
in thread how to fork & join in tk?
by redss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |