Re: [gtk-list] Re: Optimum way to set the width of a clist



You can use this function on every column and use the results as you
wish.

gint        gtk_clist_optimal_column_width  (GtkCList *clist, gint
column);

I do this to calculate the optimal size for every size, set them to it
and expand another column than the last one to fill up space.

> There's a function gtk_clist_set_autosize() or something like that,
> it can be a bit weird because sometimes the columns self-size, but
> it will do what you want.

-- 
Geert Bevin - gbevin@thunderstorms.org
Montenegrostraat 11      1060 Brussels
BELGIUM                   0477/302.599
--------------------------------------
>>  Idealists have to communicate  <<



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