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

Method keep_on_top_clear

PySimpleGUI/PySimpleGUI.py:11804–11815  ·  view source on GitHub ↗

Clears keep_on_top after a window has been created. Effect is the same as if the window was created with this set.

(self)

Source from the content-addressed store, hash-verified

11802 warnings.warn('Problem in Window.keep_on_top_set trying to set wm_attributes topmost' + str(e), UserWarning)
11803
11804 def keep_on_top_clear(self):
11805 """
11806 Clears keep_on_top after a window has been created. Effect is the same
11807 as if the window was created with this set.
11808 """
11809 if not self._is_window_created('tried Window.keep_on_top_clear'):
11810 return
11811 self.KeepOnTop = False
11812 try:
11813 self.TKroot.wm_attributes("-topmost", 0)
11814 except Exception as e:
11815 warnings.warn('Problem in Window.keep_on_top_clear trying to clear wm_attributes topmost' + str(e), UserWarning)
11816
11817 def current_location(self, more_accurate=False, without_titlebar=False):
11818 """

Callers 2

mainFunction · 0.95
settingsFunction · 0.80

Calls 1

_is_window_createdMethod · 0.95

Tested by

no test coverage detected