On Thu, 2001-10-18 at 07:32, Neil Conway wrote:
> Hi all,
> 
> How do I get the GtkType for a specific sub-class GtkObject, without
> first needing to create an instance of that GtkObject and then use
> GTK_OBJECT_TYPE(obj) ?
> 
you can just call the _get_type function for that class, which will
register the type, if it's not yet registered, and return it.

cheers
-- 
Rodrigo Moya <[EMAIL PROTECTED]> - <[EMAIL PROTECTED]>
http://www.gnome-db.org/ - http://www.ximian.com/
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to