[issue27262] IDLE: move Aqua context menu code to maxosx
Serhiy Storchaka
report at bugs.python.org
Wed Jun 8 03:12:56 EDT 2016
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 <report at bugs.python.org>
<http://bugs.python.org/issue27262>
_______________________________________
More information about the Python-bugs-list
mailing list