Re: [gtk-list] Clist wierness



On Fri, Apr 16, 1999 at 06:37:15PM +0200, Gert wrote:

> Why doesn't this work:
> I connect(_after) a func to a 3 columned clists "size_allocate" signal
> that says:
> 
> gtk_clist_set_column_width(GTK_CLIST(clist), 2, <any number>);
> 
> Why doens't this keep the 3rd column from resizing when the clist is
> resized (The func get called correctly whith all the correct arguments) ?

The last column of clist is a bit special. It is resized to fill the hole
unneeded space. I.e. gtk_clist_set_column_width sets only the minimal
column width for the last column. If the clist is wider than the sum
of all column widths, the last column is resized to cover the whole
clist width.

bye,
  Lars



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