[Tkinter-discuss] Problem with Text widget's "see" method

Michael Lange klappnase at web.de
Mon Feb 14 19:50:26 CET 2005

On Mon, 14 Feb 2005 13:02:44 -0500
"Jared Cohen" <Jared.Cohen at noaa.gov> wrote:

> cursor back to that index. Of course, the Text widget doesn't actually 
> HAVE a method to explicitly set the position of the cursor; so I 
> simulated that behavior by using event_generate to pretend the user had 
> actually clicked at the desired position.

You can use the mark_set() method to set the cursor position:

text.mark_set('insert', '1.0')

I am not sure if I understood you correctly, but maybe this helps to
fix some of your problems.



More information about the Tkinter-discuss mailing list