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 terry.reedy
Recipients serhiy.storchaka, terry.reedy
Date 2016-06-08.18:22:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465410172.92.0.0977486275836.issue27262@psf.upfronthosting.co.za>
In-reply-to
Content
[The light dawns, as the pieces connect together] The pseudoclass 'MyButton' would then consist of all widgets with 'MyButton' inserted into its bindtags list.  Similarly for 'Editor'. I presume that a) tk has the equivalent of a master bind dict mapping bindtags to dicts mapping event sequences strings to event handlers, and b) .bind_class(cname, evseq, func) does the equivalent of "tagdict.get(cname, {})[evseq] = func".

I also notice that the introspective versions of .bind... call will let us discover the pre-defined bindings on difference systems and check our alterations.  Anyway, thanks.  I will experiment when ready to refactor bindings.  In the meanwhile, I will apply the patch and close this.
History
Date User Action Args
2016-06-08 18:22:52terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2016-06-08 18:22:52terry.reedysetmessageid: <1465410172.92.0.0977486275836.issue27262@psf.upfronthosting.co.za>
2016-06-08 18:22:52terry.reedylinkissue27262 messages
2016-06-08 18:22:52terry.reedycreate