Value.paramSpecBoolean

Creates a new GParamSpecBoolean instance specifying a G_TYPE_BOOLEAN property. In many cases, it may be more appropriate to use an enum with ParamSpec.enum, 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.

class Value
static
paramSpecBoolean
(
string name
,
string nick
,
string blurb
,,)

Parameters

name string

canonical name of the property specified

nick string

nick name for the property specified

blurb string

description of the property specified

defaultValue bool

default value for the property specified

flags GParamFlags

flags for the property specified

Return Value

Type: ParamSpec

a newly created parameter specification