Tkinter Event problem

rhyde99 rhyde99 at email.msn.com
Mon Aug 7 01:06:38 EDT 2000


I read in Fredrik Lundh's An Introduction to Tkinter that there is a binding
for a mouse button release event, called by <Button-Release-x>, where x is
the specific mouse button being released.  I can't get this to work, though.
I have had no trouble producing results with binding to any other event, and
I am wondering if maybe this was a misprint.  I have tried several variants
to the call, but to no avail.

The sytax I'm using is:
    thing.bind("<Button-Release-1>", callback)

Anyone have any insights?





More information about the Python-list mailing list