paramSpecBoolean

fngobject.param_spec.ParamSpec paramSpecBoolean(string name, string nick, string blurb, bool defaultValue, gobject.types.ParamFlags flags)

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

namecanonical name of the property specified
nicknick name for the property specified
blurbdescription of the property specified
defaultValuedefault value for the property specified
flagsflags for the property specified

Returns

a newly created parameter specification