Gmail-Hack icon indicating copy to clipboard operation
Gmail-Hack copied to clipboard

Have you see the User Settings API calls?

Open PySimpleGUI opened this issue 2 years ago • 0 comments

Hi!

I just noticed your project. 💗 the screenshot in your readme!

The PySimpleGUI User Settings API calls were not released until 4.30.0 in Oct 2020. This was almost the same time as you opened this repo, so I'm pretty sure they weren't at all known at that time.

It would be interesting to see if in a future PySimpleGUI project you found them easy to use.

This past year there have been groups of APIs added that were done for the benefit of the low end of the developer experience curve. I'm trying to incorporate activities that are common with GUIs, but perhaps utilize packages that someone with a month of Python experience isn't ready to take on or would be an overload for them.

The PySimpleGUI User Settings is a simplified front-end for JSON files. Experienced users have no trouble using them just as you've had no trouble adding the use of json files to your program.

They're designed so that they can be used in layouts directly with no setup at all if the default filenames and locations are used. I'm using them in more and more programs. All of my new programs that have any kind of settings or a settings window use these APIs.

A settings window usually has the layout that includes the values from the User Settings file and then when the settings window is closed with an "OK", new values are stored in the json file.

I'm interested if they make your GUIs easier to build if you use them versus the json files you're directly using. No big deal if you don't use them of course. I'm just tossing it out there as something to maybe try.

Thanks for giving PySimpleGUI a try and thanks for posting a screenshot in your readme

image

PySimpleGUI avatar Jul 26 '21 11:07 PySimpleGUI