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

[email protected] (kksou)
Newsgroups php.gtk.general
Message-ID <[email protected]>

Bernard Fouché wrote:
> 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?
> 

Here's a sample code:

http://www.kksou.com/php-gtk2/articles/insert-and-display-text-at-end-of-GtkTextView.php

Regards,
/kksou

-- 
View this message in context: http://www.nabble.com/How-to-force-vertical-scroll-down-on-a-GtkScrolledWindow--tf4193389.html#a11938129
Sent from the Php - GTK - General mailing list archive at Nabble.com.
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.