[Enhancement] Cleanup docs and demos to use theme APIs #4598
Labels
Demo Programs
Problem is in the demo programs (or any other non-core code)
documentation
Docs need updating
Type of Issue (Enhancement, Error, Bug, Question)
Enhancement
Operating System
Other version All
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Python version (
sg.sys.version
)3.4
PySimpleGUI Version (
sg.__version__
)4.46.0.48
GUI Version (tkinter (
sg.tclversion_detailed
), PySide2, WxPython, Remi)8.6.6
Your Experience In Months or Years (optional)
44 Years Python programming experience
3 Years Programming experience overall
No Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
❤ PySimpleGUI users....
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Detailed Description
Have noticed a number of issues posted with users utilizing set_options to modify color settings. The theme APIs should be used in these situations.
The documentation and Demo Programs are likely out of date and are providing examples that have not been updated.
The evolution process for PySimpleGUI has resulted in a mixed way of accomplishing operations. The way it's supposed to work is that the current docs and demos show how things are currently accomplished.
While there is a significant effort put into making PySimpleGUI 100% backward compatible, it doesn't always work out that way, especially for features that have new APIs like themes.
Code To Duplicate
Screenshot, Sketch, or Drawing
After clicking "Go", the color of the input element's background is changed for all future windows. The window is then closed and a new one is created which will have the new background color.
The text was updated successfully, but these errors were encountered: