On Fri, 4 Dec 2009 19:49:02 +0000
Cameron Laird <came...@phaseit.net> wrote:

> On Fri, Dec 04, 2009 at 08:39:23PM +0100, Michael Lange wrote:
>                       .
>                       .
>                       .
> > I think Vasilis meant how to find the coords of the text's insertion
> > cursor, not the mouse pointer coords ? I don't know if this is
> > possible though.
>                       .
>                       .
>                       .
> I haven't kept up:  is there a question about the Tkinter.INSERT
> index?
> 
>     import Tkinter
>     a = Tkinter.Text()
>     a.pack()
>     a.index(Tkinter.INSERT)
>     '1.0'

It's about how to find the coords (x, y) of the insertion cursor in a
canvas text object.

Michael
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to