Tkinter event

Neil Cerutti cerutti at together.net
Mon Feb 12 20:02:55 CET 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 together.net>



More information about the Python-list mailing list