Re: [gtk-list] Example CList w/scrollbars?
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Example CList w/scrollbars?
- Date: Thu, 18 Mar 1999 23:35:56 -0500 (EST)
On Thu, 18 Mar 1999, John Tunison wrote:
>
> Can somebody point me in the right direction to find an example of a CList
> with a vertical scrollbar?
>
testgtk.c is a good source.
This is simple though; create a GtkScrolledWindow, both adjustment args to
the _new() function can be NULL; then gtk_container_add() the clist to the
scrolled window. Finally call gtk_scrolled_window_set_policy() to set the
policy for both bars to automatic (unless you want them to always be
there).
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]