GObject.param_spec_boolean

function param_spec_boolean(name: String, nick: String, blurb: String, default_value: Boolean, flags: GObject.ParamFlags): GObject.ParamSpec {
    // Gjs wrapper for g_param_spec_boolean()
}
  

Creates a new GObject.ParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN property.

See GObject.ParamSpec.internal for details on property names.

name

canonical name of the property specified

nick

nick name for the property specified

blurb

description of the property specified

default_value

default value for the property specified

flags

flags for the property specified

Returns

a newly created parameter specification