paramSpecBoolean

fun paramSpecBoolean(name: String, nick: String? = null, blurb: String? = null, defaultValue: Boolean, flags: ParamFlags): ParamSpec

Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN property. In many cases, it may be more appropriate to use an enum with g_param_spec_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 g_param_spec_internal() for details on property names.

Return

a newly created parameter specification

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