Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Re: GTK book
Home

[Freeciv-Dev] Re: GTK book

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: GTK book
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Tue, 6 Aug 2002 15:27:06 +0200

On Tue, Aug 06, 2002 at 12:04:30PM +0200, Christian Knoke wrote:
> On Tue, Aug 06, 2002 at 12:50:22AM +0100, Vasco Alexandre Da Silva Costa 
> wrote:
> > On Mon, 5 Aug 2002, Christian Knoke wrote:
> > 
> > > Can anyone recommend a good GTK book (english or german) not
> > > only for beginners?
> > >
> > > Maybe someone has a good link, too. The one I've found is
> > >
> > > http://developer.gnome.org/doc/GGAD/
> > 
> > In the beggining I read the GTK+ tutorial. Now I just use the reference
> > manual:
> > <http://www.gtk.org/api/>
> 
> Yes, I have these on my disk.
> 
> May I ask a question? GTK (1.2) API says:
> 
> --------
> struct GtkCList;
> 
> This is the embodiment of the GtkCList widget. This structure contains only
> private data, and should be accessed only via the CList API.
> --------
> 
> So what is this: GTK_CLIST(city_list)->sort_column
> 
> Should be illegal. I can't find it in the API.

Yes. However there is no API function for this. So we either have to
save the current sort_column in another variable or use the current
value of the CList.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Life is too short for reboots."


[Prev in Thread] Current Thread [Next in Thread]