Re: [gtk-list] position of vscrollbar
- From: "Georg C. F. Greve" <greve gnu org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] position of vscrollbar
- Date: 11 Aug 1998 00:57:50 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hi Sam !
Sam Tannous <firstname.lastname@example.org> writes:
> I've written a small application that pops
> up a new text window with a vertical scrollbar
> attached to it. The amount of text is large
> What I would like to do is set the position
> of the vertical scrollbar to show the end
> of the text (rather then have the user
> manually do it). I also want to add text
> to the bottom of the text area and keep
> the scrolled to the bottom as I add to it.
> The closest thing I can find to do this is
> gtk_text_set_adjustments but I'm not sure
> how to use it....
> Any help would be appreciated.
You might want to take a look at the Xlogmaster source since it does
exactly that... check out the homepage at
and find a FTP mirror near you.
The Xlogmaster does scroll to the end of the text and then keeps the
vertical scrollbar on a constant position relative to the end of the
Georg C. F. Greve <email@example.com>
http://porter.desy.de/~greve/ - ICQ#10016966
"People who fight may lose. People who do not
fight have already lost." -- Bertolt Brecht
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
] [Thread Prev