ecookbook restoring the folders for testing...
This commit is contained in:
parent
0574702876
commit
9f40a47d30
109 changed files with 0 additions and 0 deletions
22
docs/eCookbook/demo-programs/settings-file.md
Normal file
22
docs/eCookbook/demo-programs/settings-file.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
### Settings File - Load & Save Programming Settings
|
||||
|
||||
This demo program shows one way to save your program's settings using a JSON file as your settings file. This code is particularly handy when you are building desktop-widgets like a Rainmater type of desktop widget.
|
||||
|
||||
The main program in the example is very small. The focus is on the settings window.
|
||||
|
||||

|
||||
|
||||
This is the settings window.
|
||||
|
||||

|
||||
|
||||
Now you can easily add settings to your programs that are saved to disk, a very nice touch that adds a lot of polish to your programs.
|
||||
|
||||
<iframe src='https://trinket.io/embed/pygame/2d7e078757?start=result' width='100%' height='600' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>
|
||||
|
||||
### Config.ini format
|
||||
|
||||
In version 4.49.0.10 support for .INI format files was added. This is a quick example of how to use INI files with PySimpleGUI's User Settings APIs
|
||||
|
||||
|
||||
<iframe src='https://trinket.io/embed/pygame/9de8c06992?start=result' width='100%' height='500' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>
|
Loading…
Add table
Add a link
Reference in a new issue