GObject.ParamSpecClass

Fields

Name

Type

Access

Description

dummy

[object]

r

finalize

object

r

The instance finalization function (optional), should chain up to the finalize method of the parent class.

g_type_class

GObject.TypeClass

r

the parent class

value_is_valid

object

r

Checks if contents of value comply with the specifications set out by this type, without modifying the value. This vfunc is optional. If it isn’t set, GObject.Object will use value_validate.

value_set_default

object

r

Resets a value to the default value for this type (recommended, the default is GObject.Value.reset()), see GObject.param_value_set_default().

value_type

GObject.GType

r

the GObject.Value type for this parameter

value_validate

object

r

Ensures that the contents of value comply with the specifications set out by this type (optional), see GObject.param_value_validate().

values_cmp

object

r

Compares value1 with value2 according to this type (recommended, the default is memcmp()), see GObject.param_values_cmp().

Methods

None

Details

class GObject.ParamSpecClass

The class structure for the GObject.ParamSpec type. Normally, GObject.ParamSpec classes are filled by GObject.param_type_register_static().