ObjectG.classInstallProperties

Installs new properties from an array of GParamSpecs. This is usually done in the class initializer. The property id of each property is the index of each GParamSpec in the pspecs array. The property id of 0 is treated specially by GObject and it should not be used to store a GParamSpec. This function should be used if you plan to use a static array of GParamSpecs and g_object_notify_by_pspec(). For instance, this Since 2.26

class ObjectG
static
void
classInstallProperties

Parameters

oclass GObjectClass*

a GObjectClass

pspecs ParamSpec[]

the GParamSpecs array defining the new properties. [array length=n_pspecs]

Meta