summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-09 00:59:43 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-09 00:59:43 (GMT)
commit16cd332aabe3706f7b4522877f9214f0167bc461 (patch)
treed3904d1bf1313c0a569387e95b7fe1cac34a496a /Lib/lib-tk
parent9a0f04d4cdcb57afbdbaab603f163af03c2f44b7 (diff)
downloadcpython-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.py1
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__':