Commit 268824e0 authored by Guido van Rossum's avatar Guido van Rossum

Different trick to get the _test() window to pop up.

parent 5cd70f4f
......@@ -1875,7 +1875,11 @@ def _test():
root.test = test
quit = Button(root, text="QUIT", command=root.destroy)
quit.pack()
root.tkraise()
# The following three commands are needed so the window pops
# up on top on Windows...
root.iconify()
root.update()
root.deiconify()
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