paramSpecVariant
fn
gobject.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
name | canonical name of the property specified |
nick | nick name for the property specified |
blurb | description of the property specified |
type | a #GVariantType |
defaultValue | a #GVariant of type type to use as the default value, or null |
flags | flags for the property specified |
Returns
the newly created #GParamSpec