summaryrefslogtreecommitdiff
path: root/Lib/tkinter/Tkinter.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-09 00:59:43 +0000
committerGuido van Rossum <guido@python.org>1997-05-09 00:59:43 +0000
commit16cd332aabe3706f7b4522877f9214f0167bc461 (patch)
treed3904d1bf1313c0a569387e95b7fe1cac34a496a /Lib/tkinter/Tkinter.py
parent9a0f04d4cdcb57afbdbaab603f163af03c2f44b7 (diff)
downloadcpython-git-16cd332aabe3706f7b4522877f9214f0167bc461.tar.gz
Add root.tkraise() to the _test() program so the window doesn't hide
behind the shell window on NT.
Diffstat (limited to 'Lib/tkinter/Tkinter.py')
-rwxr-xr-xLib/tkinter/Tkinter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py
index 740dc89636..d567467fa5 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__':