ecookbook restoring the folders for testing...

This commit is contained in:
PySimpleGUI 2022-06-30 15:54:57 -04:00
parent 0574702876
commit 9f40a47d30
109 changed files with 0 additions and 0 deletions

View 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.
![image](https://user-images.githubusercontent.com/46163555/78509070-61832200-7759-11ea-9b3e-a36a3faadbcb.png)
This is the settings window.
![image](https://user-images.githubusercontent.com/46163555/78509043-34367400-7759-11ea-99fa-a7b66a58ef8f.png)
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>