ObjectClass
The class structure for the GObject type.
|[ // Example of implementing a singleton using a constructor. static MySingleton *the_singleton = NULL;
static GObject* my_singleton_constructor (GType type, guint n_construct_params, GObjectConstructParam *construct_params) { GObject *object;
if (!the_singleton) { object = G_OBJECT_CLASS (parent_class)->constructor (type, n_construct_params, construct_params); the_singleton = MY_SINGLETON (object); } else object = g_object_ref (G_OBJECT (the_singleton));
return object; } ]|
Skipped during bindings generation
parameter
pspecs
: Array parameter of type ParamSpec is not supportedparameter
n_properties
: n_properties: Out parameter is not supportedfield
g_type_class
: TypeClassfield
constructor
: Fields with callbacks are not supportedfield
set_property
: Fields with callbacks are not supportedfield
get_property
: Fields with callbacks are not supportedfield
dispose
: Fields with callbacks are not supportedfield
finalize
: Fields with callbacks are not supportedfield
dispatch_properties_changed
: Fields with callbacks are not supportedfield
notify
: Fields with callbacks are not supportedfield
constructed
: Fields with callbacks are not supported
Constructors
Allocate a new ObjectClass.
Allocate a new ObjectClass using the provided AutofreeScope.