Re: [gtk-list] GTK 1.2 questions



Ron Forrester wrote:
> 1) I am making use of CList. By default it didn't seem to have any
>         scrolling ability, so I embedded it in a scrolled window. This
>         works pretty good, but has an undesirable side-effect. When
>         scrolling vertically, the CList header scrolls as part of the
>         list. Is there any way to keep the header frozen while the contents
>         of the CList scroll?
Look in the testgtk.c example, the header are not scrolling there ...
(in the gtk/ directory from the srouces)
 
> 2) When the application closes, I would like to store off the width of
>         each of the columns of the CList so I can restore them on the next
>         invocation. I see there is a call to set the width of a column, but
>         none to get the width.
there is a width field in GtkCListColumn,
you can get it from there ..
Or you can create a gtk_clist_column_get_width ;)

no answer for the 3rd one ...

I hope it can help

Ronan



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