Gio.Settings.prototype.get_value

function get_value(key: String): GLib.Variant {
    // Gjs wrapper for g_settings_get_value()
}
  

Gets the value that is stored in settings for key.

It is a programmer error to give a key that isn't contained in the schema for settings.

Since 2.26

key

the key to get the value for

Returns

a new GLib.Variant