R
Rodrigo Benenson
Hi,
I have a weird need in tkinter. If I have a widget I can *set* a binding
..bind("<the event>", the_callback)
I also can *append* a binding
..bind("<the event>", the_second_callback, "+")
but now, I need to *replace* a callback. The easier way is to obtain the
bindings, delete them all, and rebind the new list.
So, how can I replace a callback, when there are more than one binding ?
or, as an equivalente question,
how can I obtain the list of callbacks binded to widget event ?
Thanks,
RodrigoB.
I have a weird need in tkinter. If I have a widget I can *set* a binding
..bind("<the event>", the_callback)
I also can *append* a binding
..bind("<the event>", the_second_callback, "+")
but now, I need to *replace* a callback. The easier way is to obtain the
bindings, delete them all, and rebind the new list.
So, how can I replace a callback, when there are more than one binding ?
or, as an equivalente question,
how can I obtain the list of callbacks binded to widget event ?
Thanks,
RodrigoB.