Merge pull request #1430 from PySimpleGUI/Dev-latest
Changed how no_titlebar is implemented on linux
This commit is contained in:
commit
c0c582b492
|
@ -6136,7 +6136,10 @@ def ConvertFlexToTK(MyFlexForm):
|
||||||
InitializeResults(MyFlexForm)
|
InitializeResults(MyFlexForm)
|
||||||
try:
|
try:
|
||||||
if MyFlexForm.NoTitleBar:
|
if MyFlexForm.NoTitleBar:
|
||||||
MyFlexForm.TKroot.wm_overrideredirect(True)
|
if sys.platform == 'linux':
|
||||||
|
MyFlexForm.TKroot.wm_attributes("-type","splash")
|
||||||
|
else:
|
||||||
|
MyFlexForm.TKroot.wm_overrideredirect(True)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
PackFormIntoFrame(MyFlexForm, master, MyFlexForm)
|
PackFormIntoFrame(MyFlexForm, master, MyFlexForm)
|
||||||
|
|
Loading…
Reference in New Issue