Settings.getBoolean

bool getBoolean(string key)

Gets the value that is stored at key in settings.

A convenience variant of [gio.settings.Settings.get] for booleans.

It is a programmer error to give a key that isn't specified as having a boolean type in the schema for settings.

Parameters

keythe key to get the value for

Returns

a boolean