paramSpecVariant
fun paramSpecVariant(name: String, nick: String? = null, blurb: String? = null, type: <Error class: unknown class>, defaultValue: <Error class: unknown class>? = null, flags: ParamFlags): ParamSpec(source)
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.
Return
the newly created #GParamSpec
Since
2.26
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