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

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -