From 16cd332aabe3706f7b4522877f9214f0167bc461 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 9 May 1997 00:59:43 +0000 Subject: Add root.tkraise() to the _test() program so the window doesn't hide behind the shell window on NT. --- Lib/lib-tk/Tkinter.py | 1 + Lib/tkinter/Tkinter.py | 1 + 2 files changed, 2 insertions(+) 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__': 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__': -- cgit v0.12