I have this code, and its meant to change the text of the Instruction
label when the item button is pressed. It doesn\'t for some reason, and I\'m not entirely
You can make message
a StringVar
to make callback.
message = tkinter.StringVar()
message.set('Not pressed.')
You need to set message
to be a textvariable
for Instruction
:
Instruction = tkinter.Label(Tk, textvariable=message, font='size, 20').pack()
and then
def press():
message.set('Button Pressed')