Tkinter question: position cursor within text widget

v.wehren v.wehren at
Sun Jan 5 12:35:50 CET 2003

I have a small Tkinter question:

After loading the contens of a text file into a text widget with something
like: <snip>
     content =
     self.textbox.insert(END, content)

I want the insert cursor to be at the home position after the file has
loaded.Is there a simple method to position the cursor at a given index? I
haven't *found* any in the "prevailing" Tkinter sources across the web


Vincent Wehren

More information about the Python-list mailing list