➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka, terry.reedy
Date 2016-06-08.07:12:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
I think you can just use bindtags().

button = Button(...)
bindtags = button.bindtags()
button.bindtags(bindtags[:1] + ['MyButton'] + bindtags[1:])
root.bind_class('MyButton', ...)
History
Date User Action Args
2016-06-08 07:12:56serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy
2016-06-08 07:12:56serhiy.storchakasetmessageid: <[email protected]>
2016-06-08 07:12:56serhiy.storchakalinkissue27262 messages
2016-06-08 07:12:56serhiy.storchakacreate