Re: [gtk-list] Optimum way to set the width of a clist
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Optimum way to set the width of a clist
- Date: Wed, 22 Sep 1999 23:41:51 -0400 (EDT)
On Wed, 22 Sep 1999 lightmanaj@earthlink.net wrote:
> The gtk+ tutorial suggests that we hard-code our column widths in
> a clist. However, what I want to do instead is to take the width of
> the longest row and use that as the width of the entire column.
> That way, the size of the clist won't be dependent upon the font or
> the theme that a user has configured. Is this possible?
>
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.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]