[10311] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: adding an additional pointer to a treeitem
daemon@ATHENA.MIT.EDU (sml13@cornell.edu)
Sat Nov 21 20:06:46 1998
From: sml13@cornell.edu
Date: Sat, 21 Nov 1998 20:06:35 -0500 (EST)
To: gtk-list@redhat.com
cc: gtk-list@redhat.com
In-Reply-To: <xduzp9kg1ba.fsf@assari.cc.tut.fi>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Object-oriented programming in C! Woohoo! I'm loving every minute of
it.
shane
p.s. I think the architecture of GTK+ is rather ingenious; don't confuse
my ebullience for sarcasm :-)
"Sarcasm is the defense of the weak."
-- John Knowles, _A Separate Peace_
On 21 Nov 1998, Tero Pulkkinen wrote:
> "Andre' Karwath" <Andre.Karwath@informatik.tu-chemnitz.de> writes:
> > I know how to do this in C++ or other OO languages, but I have no
> > simple idea how I can do this in C using Gtk. Could anyone please help
> > me?
>
> you can add data to the items with inheritance with gtk+ too, but it
> does involve somewhat more writing and if thats the only thing you
> want to do, gtk_object_set_user_data() is the best alternative. (or
> gtk_object_set_data() -- whatever)
>
> --
> -- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null