Add root.tkraise() to the _test() program so the window doesn't hide

behind the shell window on NT.
This commit is contained in:
Guido van Rossum 1997-05-09 00:59:43 +00:00
parent 9a0f04d4cd
commit 16cd332aab
2 changed files with 2 additions and 0 deletions

View File

@ -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__':

View File

@ -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__':