Tkinter event

Neil Cerutti cerutti at
Mon Feb 12 14:02:55 EST 2001

knock knock posted:
>got a canvas with items (lines). the mouseover event should give a specifc
>desciption for every item in the canvas. so i did a mouseover bind to a
>unique tag for every item! the idea is to make function that listens to the
>event and look ups the description. how can this method find out which item
>(tag) sent the event?? this must be possible, right?

Use the widget method of your event object.

Neil Cerutti <cerutti at>

More information about the Python-list mailing list