diff options
author | Guido van Rossum <guido@python.org> | 1997-05-09 00:59:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-05-09 00:59:43 (GMT) |
commit | 16cd332aabe3706f7b4522877f9214f0167bc461 (patch) | |
tree | d3904d1bf1313c0a569387e95b7fe1cac34a496a /Lib/lib-tk | |
parent | 9a0f04d4cdcb57afbdbaab603f163af03c2f44b7 (diff) | |
download | cpython-16cd332aabe3706f7b4522877f9214f0167bc461.zip cpython-16cd332aabe3706f7b4522877f9214f0167bc461.tar.gz cpython-16cd332aabe3706f7b4522877f9214f0167bc461.tar.bz2 |
Add root.tkraise() to the _test() program so the window doesn't hide
behind the shell window on NT.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 740dc89..d567467 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -1722,6 +1722,7 @@ def _test(): root.test = test quit = Button(root, text="QUIT", command=root.destroy) quit.pack() + root.tkraise() root.mainloop() if __name__ == '__main__': |