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 <1465369976.55.0.910742911022.issue27262@psf.upfronthosting.co.za>
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: <1465369976.55.0.910742911022.issue27262@psf.upfronthosting.co.za>
2016-06-08 07:12:56serhiy.storchakalinkissue27262 messages
2016-06-08 07:12:56serhiy.storchakacreate