Re: [gtk-list] Optimum way to set the width of a clist




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]