MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / _refresh_floating_window

Method _refresh_floating_window

PySimpleGUI/PySimpleGUI.py:24142–24154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24140 '''
24141
24142 def _refresh_floating_window(self):
24143 if not self.popout_window:
24144 return
24145 for key in self.popout_choices:
24146 if self.popout_choices[key] is True and key in self.locals:
24147 if key is not None and self.popout_window is not None:
24148 self.popout_window.Element(key, silent_on_error=True).Update(self.locals.get(key))
24149 event, values = self.popout_window.read(timeout=5)
24150 if event in (None, '_EXIT_', 'Exit::RightClick', '-EXIT-'):
24151 self.popout_window.Close()
24152 self.popout_window = None
24153 elif event == 'Debugger::RightClick':
24154 show_debugger_window()
24155
24156'''
24157M""""""'YMM dP

Callers 1

_refresh_debuggerFunction · 0.80

Calls 5

show_debugger_windowFunction · 0.85
UpdateMethod · 0.80
CloseMethod · 0.80
getMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected