Hi,
I have a tkinter label, that i bind to some function:
lbl.bind('<Button-1>',some_function)
Works just fine!
After some events, i want to disable this click possibility on the label:
lbl.config(state = DISABLED)
This shows some change in the appearance of the label, but it does not stop the clicking.
i found a solution by unbinding the label:
lbl.unbind('<Button-1>')
My question:
i did not read anywhere that binding takes priority on 'DISABLED'.
Is this actually a matter of hierarchy?
Thanks,
Paul
I have a tkinter label, that i bind to some function:
lbl.bind('<Button-1>',some_function)
Works just fine!
After some events, i want to disable this click possibility on the label:
lbl.config(state = DISABLED)
This shows some change in the appearance of the label, but it does not stop the clicking.
i found a solution by unbinding the label:
lbl.unbind('<Button-1>')
My question:
i did not read anywhere that binding takes priority on 'DISABLED'.
Is this actually a matter of hierarchy?
Thanks,
Paul