Re: [gtk-list] GtkCList.





On Thu, 23 Apr 1998, Andreas Kostyrka wrote:

> Hi!
> 
> I've been just wondering which attributes are right to read (or even
> write to) in a GtkCList:
> -) I want to be able to query the width of the columns, so I may
>    save and restore them when my program is being run next time.
>    (The justification too, but this is changed under Program control, so
>     it's a much lesser problem :) )


 gtk_clist_set_column_justification (GtkCList * clist,
                                         gint column,
                                         GtkJustification justification);

 gtk_clist_set_column_width (GtkCList * clist,
                                 gint column,
                                 gint width);



 myclist->column[col].width will give you the width



Read the widget's header file.

regards,
<ADRIAN>



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