Re: confused by CList



>I'd like to make a clist which will definitely need a vertical
>scrollbar.   I'm having great difficulty.  :(
>
>1- The scrolled window acts as if the clist doesn't need scrollbars.
>when I set policy by:
>
>   gtk_scrolled_window_set_policy(MasterDirScrollWin,
>      GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
>
>Both scrollbars disappear (I was expecting just the horizontal scrollbar
>to vanish).  The data is obviously there (I can see a little bit of the
>next line poking its head from above the bottom of the viewport.

you asked for it to be removed unless its really needed. GTK has
concluded its not. if you want it there all the time, use:

	  ...,GTK_POLICY_ALWAYS,GTK_POLICY_AUTOMATIC

>2- The columns aren't being set to a good size.  My data looks like:

try gtk_clist_autosize().

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]