: '''[update] idletasks''' This subcommand of [update] flushes all currently-scheduled idle events from Tcl's event queue. Idle events are used to postpone processing until “there is nothing else to do”, with the typical use case for them being [Tk]'s redrawing and geometry recalculations. By postponing these until Tk is idle, expensive redraw operations are not done until everything from a cluster of events (e.g., button release, change of current window, etc.) are processed at the script level. This makes Tk seem much faster, but if you're in the middle of doing some long running processing, it can also mean that no idle events are processed for a long time. By calling '''update idletasks''', redraws due to internal changes of state are processed immediately. (Redraws due to system events, e.g., being deiconified by the user, need a full [update] to be processed.) <> Command