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-11.16:34:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
+1! This would be helpful for exploration and quite possibly for tests.  Earlier this year, I bound <Button-1> to a custom function(event) printing event.x, event.y so I could discover how the line thickness of Canvas rectangles was distributed inside and outside the nominal dimensions. (Using a magnifier to click on exact pixels, I discovered the rule.) Being able to bind to print instead have been nice. 

There is no patch uploaded.  In the absence of seeing what you did... Event.type should be decoded.  The hex address should be replaced by at least the widget class, if not its path name (which would make readable names imperative!) The Event representation should be customized to the event type.

For me, there is no tkinter.EventType. The <<Selection>> binding worked to prove the idea.
Date User Action Args
2016-06-11 16:34:40terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2016-06-11 16:34:40terry.reedysetmessageid: <>
2016-06-11 16:34:40terry.reedylinkissue27294 messages
2016-06-11 16:34:39terry.reedycreate