You first have to tell the function, on_click, which button was clicked. Then you can use the config option to get the current background color and change it accordingly.
Restoring Tkinter widget background to original color
Restoring Tkinter widget background to original color
|
|
Messages In This Thread |
Restoring Tkinter widget background to original color - by pythonprogrammer - Dec-16-2019, 01:46 AM
RE: Restoring Tkinter widget background to original color - by woooee - Dec-16-2019, 04:59 AM
|
Users browsing this thread: 2 Guest(s)