Deltes the filename and path for your settings file. Either paramter can be optional. If you don't choose a path, one is provided for you that is OS specific Windows path default = users/name/AppData/Local/PySimpleGUI/settings. If you don't choose a filename, your application's fil
(filename=None, path=None, report_error=False)
| 22961 | |
| 22962 | |
| 22963 | def user_settings_delete_filename(filename=None, path=None, report_error=False): |
| 22964 | """ |
| 22965 | Deltes the filename and path for your settings file. Either paramter can be optional. |
| 22966 | If you don't choose a path, one is provided for you that is OS specific |
| 22967 | Windows path default = users/name/AppData/Local/PySimpleGUI/settings. |
| 22968 | If you don't choose a filename, your application's filename + '.json' will be used |
| 22969 | Also sets your current dictionary to a blank one. |
| 22970 | |
| 22971 | :param filename: The name of the file to use. Can be a full path and filename or just filename |
| 22972 | :type filename: (str) |
| 22973 | :param path: The folder that the settings file will be stored in. Do not include the filename. |
| 22974 | :type path: (str) |
| 22975 | """ |
| 22976 | settings = UserSettings._default_for_function_interface |
| 22977 | settings.delete_file(filename, path, report_error=report_error) |
| 22978 | |
| 22979 | |
| 22980 | def user_settings_set_entry(key, value): |
nothing calls this directly
no test coverage detected