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 coord
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/tk
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 g
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
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. Futhermore, and I don't know if this is
possible, I would like t