Gracefully delay runtime error up to 1s. Add .willdispatch().

This commit is contained in:
Martin v. Löwis 2002-12-28 09:23:09 +00:00
parent 276a8f3b80
commit 5b26abb37a
2 changed files with 32 additions and 12 deletions

View file

@ -1919,6 +1919,7 @@ def gui():
self.expanded = 0
self.window.wm_geometry('%dx%d' % (self.minwidth, self.minheight))
self.window.wm_minsize(self.minwidth, self.minheight)
self.window.tk.willdispatch()
import threading
threading.Thread(