The answer has to do with a concept Tk calls "transient".
wm transient window ?master?
If master is specified, then the window manager is informed that
window is a transient window (e.g. pull-down menu) working on
behalf of master (where master is the path name for
Hello All,
The following script "hangs" on win32 system:
from Tkinter import *
from tkSimpleDialog import askstring
root = Tk()
root.withdraw() # <<< Problem here
askstring("Yap", "What's up?")
If I remove the problematic "withdraw" line the script works but there is
another