ParamSpecVariant


Description:

[ CCode ( cname = "g_param_spec_variant" , has_construct_function = false , type = "GParamSpec*" ) ]
public ParamSpecVariant (string name, string nick, string blurb, VariantType type, Variant? default_value, ParamFlags flags)

Creates a new ParamSpecVariant instance specifying a Variant property.

If default_value is floating, it is consumed.

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

default_value

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

flags

flags for the property specified

Returns:

the newly created ParamSpec