I guess I should have mentioned that the canvas is a Tkinter canvas,
but, well, I guess that could be infered.
--
http://mail.python.org/mailman/listinfo/python-list
Tuvas enlightened us with:
I have a picture that is being displayed on a canvas interface, that
I want to do the following. [...]
There are loads of GUI toolkits you could be using.
Please read How To Ask Questions The Smart Way:
http://catb.org/~esr/faqs/smart-questions.html
It's a very good
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:
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