Kaydet (Commit) 16cd332a authored tarafından Guido van Rossum's avatar Guido van Rossum

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

behind the shell window on NT.
üst 9a0f04d4
......@@ -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__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment