[issue31485] Tkinter widget.unbind(sequence, funcid) unbind all bindings
Serhiy Storchaka
report at bugs.python.org
Fri Sep 15 16:49:28 EDT 2017
Serhiy Storchaka added the comment:
I don't think a new method is needed. We can make unbind() destroying all bindings if FUNCID is not given (note that registered commands are leaked in this case), and only the specified command if it is specified. We can add a boolean parameter (similar to the one in bind()) for restoring the old behavior if this is needed.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31485>
_______________________________________
More information about the Python-bugs-list
mailing list