getInt

open fun getInt(key: String): Int

Gets the value that is stored at @key in @settings.

A convenience variant of g_settings_get() for 32-bit integers.

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

Return

an integer

Since

2.26

Parameters

key

the key to get the value for