Color and state changing after button press tkinter

35 Views Asked by At

I want to change the button's color after pressing it(red normal state 0, green active state 1) is there a way to do that with tkinter?

For clarity I do not mean the color changing while pressing button(I am aware of "activebackground="COLOR")"

Edit: Using tk.Button() currently

0

There are 0 best solutions below