MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / reopen_window

Method reopen_window

PySimpleGUI/PySimpleGUI.py:18337–18341  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18335 return
18336
18337 def reopen_window(self):
18338 if self.window is None or (self.window is not None and self.window.is_closed()):
18339 self.__init__(size=self.size, location=self.location, relative_location=self.relative_location, font=self.font, no_titlebar=self.no_titlebar,
18340 no_button=self.no_button, grab_anywhere=self.grab_anywhere, keep_on_top=self.keep_on_top,
18341 do_not_reroute_stdout=self.do_not_reroute_stdout, resizable=self.resizable, echo_stdout=self.echo_stdout)
18342
18343 def Print(self, *args, end=None, sep=None, text_color=None, background_color=None, erase_all=False, font=None, blocking=None):
18344 global SUPPRESS_WIDGET_NOT_FINALIZED_WARNINGS

Callers 1

PrintMethod · 0.95

Calls 2

__init__Method · 0.95
is_closedMethod · 0.80

Tested by

no test coverage detected