ObjectG.classInstallProperty

Installs a new property. This is usually done in the class initializer. Note that it is possible to redefine a property in a derived class, by installing a property with the same name. This can be useful at times, e.g. to change the range of allowed values or the default value.

class ObjectG
static
void
classInstallProperty

Parameters

oclass GObjectClass*

a GObjectClass

propertyId uint

the id for the new property

pspec ParamSpec

the GParamSpec for the new property

Meta