Re: [PHP-GTK] How to force vertical scroll down on a GtkScrolledWindow?

[email protected] (bob majdak jr)
Newsgroups php.gtk.general
Organization KateOS
Message-ID <[email protected]>
If you are using something like buffer->insert_at_cursor() to always add text to the end you could call:

  view->scroll_to_mark(buffer->get_insert(), 0);

- bob.

Bernard Fouch wrote:
> Hi List.
> 
> I'm using such a widget. Its child is a GtkTextView that I use for 
> logging purpose. When I fill the GtkTextView with lines of text, the 
> vertical scroll bar stays up. I'd like to have it forced to the bottom, 
> to always see the latest line of text when my application works. When it 
> stops the user must be able to move up the scroll bar. How to do that?
> 
> Thanks!
> 
>  Bernard
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.