getString

open fun getString(key: String): String

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

A convenience variant of g_settings_get() for strings.

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

Return

a newly-allocated string

Since

2.26

Parameters

key

the key to get the value for