[Tkinter-discuss] Cursor coordinates

Vasilis Vlachoudis Vasilis.Vlachoudis at cern.ch
Fri Dec 4 16:53:56 CET 2009


Hi all,

I have a canvas with some editable text (with create_text) in it.
How can I get the cursor coordinates x,y from the canvas?
The index() function returns only the character index, is there a way to 
convert the position of a character into x,y coordinates or bbox?

Vasilis



More information about the Tkinter-discuss mailing list