Hi there, using TKinter
Is it possible to change a buttons text after you've clicked it?
So if a button has text of "hi" and when clicked has text of "Goodbye"?
button_switch = True def click(): global button_switch if button_switch: button_switch = False else: button_switch = True
This would switch the state of the button but can i change the buttons text to an image or different text?
Thanks in advance
PS: thats a cropped piece of code, the buttons i've used is all basic TKinter stuff.