mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
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
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue