Re: Canvas clicking stuff

2006-02-20 Thread Tuvas
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

Re: Canvas clicking stuff

2006-02-20 Thread Sybren Stuvel
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

Re: Canvas clicking stuff

2006-02-20 Thread Fredrik Lundh
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:

Re: Canvas clicking stuff

2006-02-20 Thread Tuvas
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