Re: [gtk-list] Finding Width of Column in a GtkCList?





On Mon, 4 May 1998, Lachac, Gerry wrote:

> 
> ALL:
> 
> I'm new to GTK (I'm really using GTK-) so forgive me if this has been
> answered before (it's not in the FAQ and I tried searching the archives at
> Redhat, but the CGI script for searching seems to be broken)
> 
> Genericly speaking, I have set up a GtkCList so I can have a nice table of
> data with user adjustable columns.  I can set the column widths to a default
> size when I build the list, but I can't figure out how to "save" the new
> widths a user might have adjusted them to.  I wanted to give the user a
> method of returning to their column width "preferences" whenever they start
> the app.  I was planning on grabbing the widths of each column upon
> application exit, and saving it to an initialization file so I can set the
> widths back to the user preference the next time he/she starts the
> application.
> 

GTK_CLIST(myclist)->column[col].width

<ADRIAN>



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