On Mon, Sep 6, 2010 at 11:19 PM, Gsus <jegui...@andeselec.com> wrote:
>
> I make a serial port viewer and i put a textview inside of a scrollwindow.
> but when when I add text I can not show the last text
>
> how i make that the scrollwindow move the scroll itself?

Create a mark end the end of the buffer and use ScrollToMark.

For an example, search for "endMark " in MonoDevelop's LogView class:
http://github.com/mono/monodevelop/blob/master/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs

-- 
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to