Re: How to make a gtktreeview column flexible?




How do i make the column always use a much space as possible but never
more than available?



You have to call the following function:

gtk_tree_view_column_set_expand(your_column, TRUE);

Maybe you'll have also to call:

gtk_tree_view_column_set_fixed_width (column, width);

or

gtk_tree_view_column_set_expand(column, FALSE);

... for the other columns.

-- 
Ing. Gabriele Greco, DARTS Engineering
Tel: +39-0105761240  Fax: +39-0105760224
s-mail: Via G.T. Invrea 14 - 16129 GENOVA (ITALY)



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