diff options
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 1 | ||||
-rwxr-xr-x | Lib/tkinter/Tkinter.py | 1 |
2 files changed, 2 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__': 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__': |