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/tkinter | |
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/tkinter')
-rwxr-xr-x | Lib/tkinter/Tkinter.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index 740dc89..d567467 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/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__': |