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 19:10:53 +0200

On Tue, Aug 06, 2002 at 05:53:28PM +0200, Christian Knoke wrote:
> On Tue, Aug 06, 2002 at 03:27:06PM +0200, Raimar Falke wrote:
> > 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?
> > > > >
> > > > 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.
> 
> Ok, great. So where is this documented?

Not exactly ducmented but it is mentioned in
/usr/include/gtk/gtkclist.h ;)

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Sit, disk, sit. Good boy. Now spin up. Very good. Here's a netscape
  cookie for you. Fetch me some data. Come on, you can do it. No, not that
  data. Bad disk. Bad." 
    -- Calle Dybedahl, alt.sysadmin.recovery


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