Re: [gtk-list] expanding clist columns
- From: Henning Meier-Geinitz <henningmg gmx de>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] expanding clist columns
- Date: Mon, 25 Oct 1999 20:28:32 +0200
> Is there any way to get a clist/ctree column to expand to the width of the
> largest column item? I'm using gtk_clist_autosize (), but it's not working for me.
I don't know gtk_clist_autosize (). I'm using gtk 1.2.1 and
gtk_clist_columns_autosize () does it for the whole clist when executed.
For only one column you could use something like
gtk_clist_set_column_width (list, column,
gtk_clist_optimal_column_width (list, column));
If you want a column to be resized automaticaly the following will
work:
gtk_clist_set_column_auto_resize (list, column, 0/1);
hth,
Henning
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]