ParamSpec.paramTypeRegisterStatic

Registers @name as the name of a new static type derived from #G_TYPE_PARAM. The type system uses the information contained in the #GParamSpecTypeInfo structure pointed to by @info to manage the #GParamSpec type and its instances.

class ParamSpec
static
paramTypeRegisterStatic

Parameters

name string

0-terminated string used as the name of the new #GParamSpec type.

pspecInfo GParamSpecTypeInfo*

The #GParamSpecTypeInfo for this #GParamSpec type.

Return Value

Type: GType

The new type identifier.

Meta