in reply to Re: Re: Perl::TK - fileevent and script execution theory
in thread Perl::TK - fileevent and script execution theory
$widget->idletasks One of two methods which are used to bring the application +``up to date'' by entering the event loop repeated until all pendin +g events (including idle callbacks) have been processed. If the idletasks method is specified, then no new events or + errors are processed; only idle callbacks are invoked. This causes + opera- tions that are normally deferred, such as display updates a +nd win- dow layout calculations, to be performed immediately. The idletasks command is useful in scripts where changes ha +ve been made to the application's state and you want those changes +to appear on the display immediately, rather than waiting for +the script to complete. Most display updates are performed as i +dle callbacks, so idletasks will cause them to run. However, th +ere are some kinds of updates that only happen in response to event +s, such as those triggered by window size changes; these updates wi +ll not occur in idletasks.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Re: Re: Perl::TK - fileevent and script execution theory
by crabbdean (Pilgrim) on Mar 14, 2004 at 04:40 UTC |