slightlynybbled / tk_tools

Python tkinter tools, Python3.7+
MIT License
101 stars 25 forks source link

LED widget refinement #30

Closed slightlynybbled closed 6 years ago

slightlynybbled commented 6 years ago

Add on_click toggle functionality with the possibility for callbacks.

For instance, when user clicks an led that is red and off, then the LED turns on and calls any associated on callback.

slightlynybbled commented 6 years ago

LED can function as a simple indicator or can act as a latching push-button.