Quoting Havoc Pennington <[EMAIL PROTECTED]>:

> 
> Dominic Ludlam <[EMAIL PROTECTED]> writes:
> > 
> > I would like to be able to associate arbitrary data
> > with GtkTypes for the equivalent of static data members
> > in C++ classes.  There is a nice system for adding data
> > to GtkObjects, but not to the underlying types. Is there
> > any exisiting way of doing this?
> > 
> 
> You can just use g_dataset_* to associate data with any pointer
> whatsoever (get the class struct with gtk_type_class()).
> 

Great, thats exactly what I wanted. Thanks.

Dom.

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to