MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / _BuildResults

Function _BuildResults

PySimpleGUI/PySimpleGUI.py:14897–14910  ·  view source on GitHub ↗
(form, initialize_only, top_level_form)

Source from the content-addressed store, hash-verified

14895# format of return values is
14896# (Button Pressed, input_values)
14897def _BuildResults(form, initialize_only, top_level_form):
14898 # Results for elements are:
14899 # TEXT - Nothing
14900 # INPUT - Read value from TK
14901 # Button - Button Text and position as a Tuple
14902
14903 # Get the initialized results so we don't have to rebuild
14904 # form.DictionaryKeyCounter = 0
14905 form.ReturnValuesDictionary = {}
14906 form.ReturnValuesList = []
14907 _BuildResultsForSubform(form, initialize_only, top_level_form)
14908 if not top_level_form.LastButtonClickedWasRealtime:
14909 top_level_form.LastButtonClicked = None
14910 return form.ReturnValues
14911
14912
14913def _BuildResultsForSubform(form, initialize_only, top_level_form):

Callers 8

_ShowMethod · 0.85
_readMethod · 0.85
_ReadNonBlockingMethod · 0.85
save_to_diskMethod · 0.85
_CloseMethod · 0.85
read_all_windowsFunction · 0.85
InitializeResultsFunction · 0.85

Calls 1

_BuildResultsForSubformFunction · 0.85

Tested by

no test coverage detected