Entry widget with history/completion, again

Hans-Joachim Widmaier hjwidmai at foxboro.com
Thu Jun 15 06:24:52 EDT 2000


After digging in Tk docs for some time I've finally found how
to get the current index of the insertion character in an Entry
widget:

  self.index("insert")

will do the trick. Fair enough, "insert" isn't listed in the
INDICES section, just in a note (in the Text widget man page).
Or is "insert" a predifined mark?

Anyway, now that the biggest obstacle is out of the way, I can
actually begin implementing it.

-- 
Hans-Joachim Widmaier




More information about the Python-list mailing list