Merge pull request #3095 from PySimpleGUI/Dev-latest

Added back hidden window withdraw call. Was deleted by mistake and ca…
This commit is contained in:
PySimpleGUI 2020-07-03 08:09:53 -04:00 committed by GitHub
commit 2bec860bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3 #!/usr/bin/python3
version = __version__ = "4.22.0.10 Unreleased\n Added a bunch of warnings for windows operations to check for root being None, fix for table and tree colors due to tkinter bug in version 8.6.9, don't call overrideredirect if running on Mac, new shortcut parm k added to all elements (use interachgably with key), moved when 8.6.9 patch is applied, any_key_closes parameter added to popup, image parameter added to popup & popup_error, image parameter added to all popups, added caching to tree icons, error icons" version = __version__ = "4.22.0.12 Unreleased\n Added a bunch of warnings for windows operations to check for root being None, fix for table and tree colors due to tkinter bug in version 8.6.9, don't call overrideredirect if running on Mac, new shortcut parm k added to all elements (use interachgably with key), moved when 8.6.9 patch is applied, any_key_closes parameter added to popup, image parameter added to popup & popup_error, image parameter added to all popups, added caching to tree icons, error icons, added back a widthdrawal call that broke the Pi release"
port = 'PySimpleGUI' port = 'PySimpleGUI'
@ -11668,6 +11668,7 @@ def StartupTK(my_flex_form):
Window.hidden_master_root.attributes('-alpha', 0) # HIDE this window really really really Window.hidden_master_root.attributes('-alpha', 0) # HIDE this window really really really
if not sys.platform.startswith('darwin'): if not sys.platform.startswith('darwin'):
Window.hidden_master_root.wm_overrideredirect(True) Window.hidden_master_root.wm_overrideredirect(True)
Window.hidden_master_root.withdraw()
root = tk.Toplevel() root = tk.Toplevel()
else: else:
root = tk.Toplevel() root = tk.Toplevel()