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

Method enable

PySimpleGUI/PySimpleGUI.py:11669–11676  ·  view source on GitHub ↗

Re-enables window to take user input after having it be Disabled previously

(self)

Source from the content-addressed store, hash-verified

11667 # self.TKroot.grab_set_global()
11668
11669 def enable(self):
11670 """
11671 Re-enables window to take user input after having it be Disabled previously
11672 """
11673 if not self._is_window_created('tried Window.enable'):
11674 return
11675 self.TKroot.attributes('-disabled', 0)
11676 # self.TKroot.grab_release()
11677
11678 def hide(self):
11679 """

Callers

nothing calls this directly

Calls 1

_is_window_createdMethod · 0.95

Tested by

no test coverage detected