Different trick to get the _test() window to pop up.
This commit is contained in:
parent
5cd70f4f66
commit
268824e089
|
@ -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__':
|
||||
|
|
Loading…
Reference in New Issue