MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / user_settings

Function user_settings

PySimpleGUI/PySimpleGUI.py:23101–23109  ·  view source on GitHub ↗

Returns the current settings dictionary. If you've not setup the filename for the settings, a default one will be used and then read. :return: The current settings dictionary as a dictionary or a nicely formatted string representing it :rtype: (dict or str)

()

Source from the content-addressed store, hash-verified

23099
23100
23101def user_settings():
23102 """
23103 Returns the current settings dictionary. If you've not setup the filename for the
23104 settings, a default one will be used and then read.
23105 :return: The current settings dictionary as a dictionary or a nicely formatted string representing it
23106 :rtype: (dict or str)
23107 """
23108 settings = UserSettings._default_for_function_interface
23109 return settings.get_dict()
23110
23111
23112def user_settings_object():

Callers

nothing calls this directly

Calls 1

get_dictMethod · 0.80

Tested by

no test coverage detected