paramSpecVariant

fngobject.param_spec.ParamSpec paramSpecVariant(string name, string nick, string blurb, glib.variant_type.VariantType type, glib.variant.Variant defaultValue, gobject.types.ParamFlags flags)

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

namecanonical name of the property specified
nicknick name for the property specified
blurbdescription of the property specified
typea #GVariantType
defaultValuea #GVariant of type type to use as the default value, or null
flagsflags for the property specified

Returns

the newly created #GParamSpec