Cursor Position.

Juho Schultz juho.schultz at helsinki.fi
Wed Nov 9 09:21:34 CET 2005


Samantha wrote:
> I will be using Tkinter. All I need is a way to get the X,Y position from a 
> mouse click. I am trying to have an image loaded to click on, but that seems 
> to be a problem. So if I can just get the position from the screen of a 
> graphics program, showing an image, it will work for me.
> S

If you use TkInter, use also these: 
http://www.pythonware.com/library/tkinter/introduction/index.htm
http://infohost.nmt.edu/tcc/help/pubs/tkinter/

For mouse click position, this might be helpful:
http://www.pythonware.com/library/tkinter/introduction/events-and-bindings.htm



More information about the Python-list mailing list