Hello
I am trying to implement text scrolling in text view widget. The following
is what I am trying to do.
>>>>>
iter = self.buffer.get_iter_at_offset(40)
mrk=self.buffer.create_mark("mark1", iter, True)
self.buffer.move_mark(mrk, iter)
self.text.scroll_mark_onscreen(mrk)
<<<<
But this doesn't work as expected. Could some one please get me a simple
code which will keep scroll the text view to offset and keep the cursor
there.
-B
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/