tkinter entry index
dsavitsk at e-coli.net
Tue Mar 13 00:26:15 CET 2001
"Fredrik Lundh" <fredrik at pythonware.com> wrote in message
news:SJcr6.17936$Qb7.3120517 at newsb.telia.net...
> "dsavitsk" wrote:
> > how can i get the position of the cursor in an entry widget? .index and
> > .icursor don't seem to it. That is, if "foo" is in an entry, and the
> > is between the "o" and the other "o", I could get a return of 2.
> position = w.index(INSERT)
> Cheers /F
> <!-- pythonworks 1.2 coming soon:
More information about the Python-list