Hi, is it possible to create a property of type gobject.TYPE_ENUM? Reading the GObject reference documentation http://developer.gnome.org/doc/API/2.0/gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum I discover that I need a enum_type as the forth parameter to create the g_param_spec. So in PyGTK I would write:
'myprop' : (gobject.TYPE_ENUM, 'nick', 'blurb', enum_type, default_value, flags) And reading a little more I see that the function g_enum_register_static() is used to register a new enum type. Is this function accesible to PyGTK? Thanks for the answers Lorenzo _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
