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 gobject.global.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 gobject.param_spec.ParamSpec.internal for details on property names.

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 gobject.types.ParamFlags

flags for the property specified

Return Value

Type: gobject.param_spec.ParamSpec

a newly created parameter specification