MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / disappear

Method disappear

PySimpleGUI/PySimpleGUI.py:11705–11713  ·  view source on GitHub ↗

Causes a window to "disappear" from the screen, but remain on the taskbar. It does this by turning the alpha channel to 0. NOTE that on some platforms alpha is not supported. The window will remain showing on these platforms. The Raspberry Pi for example does not have an a

(self)

Source from the content-addressed store, hash-verified

11703 return self._Hidden
11704
11705 def disappear(self):
11706 """
11707 Causes a window to "disappear" from the screen, but remain on the taskbar. It does this by turning the alpha
11708 channel to 0. NOTE that on some platforms alpha is not supported. The window will remain showing on these
11709 platforms. The Raspberry Pi for example does not have an alpha setting
11710 """
11711 if not self._is_window_created('tried Window.disappear'):
11712 return
11713 self.TKroot.attributes('-alpha', 0)
11714
11715 def reappear(self):
11716 """

Callers 4

test_menusFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95

Calls 1

_is_window_createdMethod · 0.95

Tested by 1

test_menusFunction · 0.76