[issue31485] Tkinter widget.unbind(sequence, funcid) unbind all bindings

Serhiy Storchaka report at bugs.python.org
Fri Sep 15 12:21:41 EDT 2017


Serhiy Storchaka added the comment:

Tk do not provide a way of unbinding a specific command. It supports binding a script with replacing an existing binding, appending a script to an existing binding, and destroying an existing binding. Unbinding a specific command can be implemented in Python with a code similar to your example, but more complex due to taking to account different corner cases.

Do you want to write a patch and open a pull request Juliette?

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31485>
_______________________________________


More information about the Python-bugs-list mailing list