Skip to content Skip to sidebar Skip to footer

Python/Tkinter: Turn On/off Screen Updates Like WxPython Freeze/Thaw?

Does Tkinter provide a way to temporarily turn off screen updates (when performing a large amount of screen activity) and then turn on screen updates when the UI updates are comple

Solution 1:

No, Tkinter has no such thing. However, the screen is only updated via the event loop, so if all of your "large amount of screen activity" is happening in a single method, none of the activity will show up until your method finishes and the event loop is re-entered (or you explicitly call .update_idletasks())


Post a Comment for "Python/Tkinter: Turn On/off Screen Updates Like WxPython Freeze/Thaw?"