paramSpecBoolean
fn
gobject.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
name | canonical name of the property specified |
nick | nick name for the property specified |
blurb | description of the property specified |
defaultValue | default value for the property specified |
flags | flags for the property specified |
Returns
a newly created parameter specification