On Mon, 14 Feb 2005 13:02:44 -0500
"Jared Cohen" <[EMAIL PROTECTED]> 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.

Regards

Michael
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to