ParamSpecBoolean


Description:

[ CCode ( cname = "g_param_spec_boolean" , has_construct_function = false , type = "GParamSpec*" ) ]
public ParamSpecBoolean (string name, string nick, string blurb, bool default_value, ParamFlags flags)

Creates a new ParamSpecBoolean instance specifying a g_type_boolean property.

In many cases, it may be more appropriate to use an enum with ParamSpecEnum, both to improve code clarity by using explicitly named values, and to allow for more values to be added in future without breaking API.

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

default_value

default value for the property specified

flags

flags for the property specified

Returns:

a newly created parameter specification