Serhiy Storchaka added the comment:
I think you can just use bindtags().
button = Button(...)
bindtags = button.bindtags()
button.bindtags(bindtags[:1] + ['MyButton'] + bindtags[1:])
root.bind_class('MyButton', ...)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27262>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com