in reply to Stopwatch GUI sleep
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.
|
|---|