Gio.Settings.prototype.get_uint

function get_uint(key: String): Number(guint) {
    // Gjs wrapper for g_settings_get_uint()
}
  

Gets the value that is stored at key in settings.

A convenience variant of Gio.Settings.get for 32-bit unsigned integers.

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

Since 2.30

key

the key to get the value for

Returns

an unsigned integer