MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / fill

Method fill

PySimpleGUI/PySimpleGUI.py:10901–10912  ·  view source on GitHub ↗

Fill in elements that are input fields with data based on a 'values dictionary' :param values_dict: pairs :type values_dict: (Dict[Any, Any]) - {Element_key : value} :return: returns self so can be chained with other methods :rtype: (

(self, values_dict)

Source from the content-addressed store, hash-verified

10899 return self
10900
10901 def fill(self, values_dict):
10902 """
10903 Fill in elements that are input fields with data based on a 'values dictionary'
10904
10905 :param values_dict: pairs
10906 :type values_dict: (Dict[Any, Any]) - {Element_key : value}
10907 :return: returns self so can be chained with other methods
10908 :rtype: (Window)
10909 """
10910
10911 FillFormWithValues(self, values_dict)
10912 return self
10913
10914 def _find_closest_key(self, search_key):
10915 if not isinstance(search_key, str):

Callers 3

notifyMethod · 0.45
popupFunction · 0.45
popup_notifyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected