in reply to how to fork & join in tk?
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
|
|---|