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

Method Close

PySimpleGUI/PySimpleGUI.py:18424–18428  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18422 SUPPRESS_WIDGET_NOT_FINALIZED_WARNINGS = suppress
18423
18424 def Close(self):
18425 if self.window.XFound: # increment the number of open windows to get around a bug with debug windows
18426 Window._IncrementOpenCount()
18427 self.window.close()
18428 self.window = None
18429
18430
18431def easy_print(*args, size=(None, None), end=None, sep=None, location=(None, None), relative_location=(None, None), font=None, no_titlebar=False,

Callers 9

PrintMethod · 0.95
runMethod · 0.80
easy_print_closeFunction · 0.80
_choose_auto_watchesMethod · 0.80

Calls 2

_IncrementOpenCountMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected