paramSpecVariant

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

If default_value is floating, it is consumed.

See gobject.param_spec.ParamSpec.internal for details on property names.

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 glib.variant_type.VariantType

a #GVariantType

defaultValue glib.variant.VariantG

a #GVariant of type type to use as the default value, or null

flags gobject.types.ParamFlags

flags for the property specified

Return Value

Type: gobject.param_spec.ParamSpec

the newly created #GParamSpec