See Tk::After resp. the Tk::after documentation.
Most event loop systems and GUI systems don't like sleep because it blocks their event loop processing. In turn, most of these systems implement their own version of sleep as timers that you can then use while still keeping the rest of the system responsive.
In reply to Re: Stopwatch GUI sleep
by Corion
in thread Stopwatch GUI sleep
by welle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |