Re: anonymous/generic GObjects? how to set/get custom properties without subclassing?

2005-02-03 Thread Tristan Van Berkom
On Wed, 2 Feb 2005 15:09:00 -0800, Ben Johnson <[EMAIL PROTECTED]> wrote: [...] > The only reason I didn't use a GObject to begin with is I don't > understand very well how the property thing works... I don't know if it > possible to just set random properties without first declaring them... > you

anonymous/generic GObjects? how to set/get custom properties without subclassing?

2005-02-02 Thread Ben Johnson
Hi. short version: I want to use a GObject as a thing that can hold simple types (like ints and pointers) that does reference counting. Is that possible? I want to use it like a hashtable that will garbage collect itself when all the references to it are gone. more explaining: I have a simple s