Skip to content

GObject.ParamSpecTypeInfo

record (struct)

This structure is used to provide the type system with the information required to initialize and destruct (finalize) a parameter's class and instances thereof.

The initialized structure is passed to the param_type_register_static The type system will perform a deep copy of this structure, so its memory does not need to be persistent across invocation of param_type_register_static.

Properties

instance_size

instance_size: int  # read/write

n_preallocs

n_preallocs: int  # read/write

instance_init

instance_init: Any  # read/write

value_type

value_type: type | Type  # read/write

finalize

finalize: Any  # read/write

value_set_default

value_set_default: Any  # read/write

value_validate

value_validate: Any  # read/write

values_cmp

values_cmp: Any  # read/write