This demo shows you how to make a toggle button using 2 methods.
- A Button that changes color and text
- A Button with a graphic that changes
It's a simple way to get a toggle button in PySimpleGUI using the Button Element.
Toggle Button - Super Simple Graphic Only
And this one is even more simplified.
Toggle Button - Simple Graphic - No Button Animation
Maybe you don't want the graphic to move up and down like a button does. Not a problem....just switch from Button to Image.