Value.paramSpecVariant

Creates a new #GParamSpecVariant instance specifying a #GVariant property.

If @default_value is floating, it is consumed.

See g_param_spec_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

a #GVariantType

defaultValue Variant

a #GVariant 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 #GParamSpec

Meta

Since

2.26