Canvas clicking stuff

Tuvas tuvas21 at gmail.com
Mon Feb 20 15:43:36 EST 2006


Ahh, exactly what I was looking for. Thanks for the help!


Fredrik Lundh wrote:
> Tuvas wrote:
>
> > I have a picture that is being displayed on a canvas interface, that I
> > want to do the following. When a mouse button is clicked on the canvas,
> > I want to pass to a function the X and Y coordinates of where this
> > mouse button was pushed.
>
> use event bindings:
>
> http://effbot.org/tkinterbook/tkinter-events-and-bindings.htm
> 
> </F>




More information about the Python-list mailing list