python - Setting the position of the insert character in the tkinter text widget -
i'd change position of insert character in tkinter text widget. there method or other way me set position insert character @ in text widget?
you can use mark_set method insert mark.
for example:
t.mark_set('insert', '2.3') or
t.mark_set(insert, '2.3') above code position cursor after 3rd character in 2nd line.
Comments
Post a Comment