Add root.tkraise() to the _test() program so the window doesn't hide
behind the shell window on NT.
This commit is contained in:
parent
9a0f04d4cd
commit
16cd332aab
|
@ -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__':
|
||||
|
|
|
@ -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__':
|
||||
|
|
Loading…
Reference in New Issue