>>>>> "me" == Roland Roberts <[EMAIL PROTECTED]> writes:
me> optimum_width = gtk_clist_optimal_column_width (GTK_CLIST(clist), 0);
me> gtk_clist_set_column_min_width (GTK_CLIST(clist), 0, optimum_width);
me> gtk_clist_set_column_max_width (GTK_CLIST(clist), 0, optimum_width);
me> optimum_width = gtk_clist_optimal_column_width (GTK_CLIST(clist), 2);
^^^
Oops, cut-and-pastitis strikes.
me> gtk_clist_set_column_width (GTK_CLIST(clist), 1, optimum_width);
me> gtk_clist_set_column_min_width (GTK_CLIST(clist), 1, optimum_width);
me> optimum_width = gtk_clist_optimal_column_width (GTK_CLIST(clist), 2);
me> gtk_clist_set_column_min_width (GTK_CLIST(clist), 2, optimum_width);
me> gtk_clist_set_column_max_width (GTK_CLIST(clist), 2, optimum_width);
With the above change, I almost get what I expected. Column three
*still* expands instead of column 2 and column 1 is not actually wide
enough to display the entire string; gtk_clist_optimal_column_width is
not calculating the optimal width correctly.
roland
--
PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
[EMAIL PROTECTED] 76-15 113th Street, Apt 3B
[EMAIL PROTECTED] Forest Hills, NY 11375
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list