Value.paramSpecVariant

Creates a new GParamSpecVariant instance specifying a glib.Variant property.

If default_value is floating, it is consumed.

See ParamSpec.internal for details on property names.

class Value
static
paramSpecVariant

Parameters

name string

canonical name of the property specified

nick string

nick name for the property specified

blurb string

description of the property specified

type VariantType
defaultValue Variant

a glib.Variant of type type to use as the default value, or NULL

flags GParamFlags

flags for the property specified

Return Value

Type: ParamSpec

the newly created gobject.ParamSpec

Meta

Since

2.26