Canvas clicking stuff

Fredrik Lundh fredrik at pythonware.com
Mon Feb 20 15:40:23 EST 2006


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