Try to use Gtk::ScrolledWindow::get_vscrollbar() and
Gtk::Range::set_value() on the scrollbar.

But you'll need a more sophisticated method if you still want to be able
to scroll manually in the GUI.

Cheers,
Simon


jody wrote:
> Hi
> 
> I have a ScrolledWindow containing a TextView.
> New strings are constantly appended to the TextView.
> 
> Currently, the ScrolledWindow only shows the beginning
> of the TextView - the new Strings being appended soon disappear from sight.
> 
> How can i make the ScrolledWindow always scroll to the end of the TextView,
> so that the newest strings are always visible (similar to a terminal
> window with a scrollbar)?
> 
> Thank You
>   Jody
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to