Skip to content

Suggestion - User settings using PySimpleGUI or json #16

@PySimpleGUI

Description

@PySimpleGUI

I used to have a config.py in my first Python projects. They seemed to always end being a pain and screw me up.

Not long ago the User Settings APIs were added to PySimpleGUI. I use them extensively in the demos and personal programs.

The Template for rainmeter style widgets is one place to see them, the other is the demo browser. The demo browser uses a "settings" window that you can copy easily.

image

The Desktop Widgets doesn't use a settings window and instead uses the right click menu.
image

You've got enough settings in your config file to warrant a settings window if you change them very often. If not, you can put them in a PySimpleGUI User Settings file (json). All I do is make the interface look easier and does autosaving, autoloading, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions