Settings.getString

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.

class Settings
string
getString
(
string key
)

Parameters

key string

the key to get the value for

Return Value

Type: string

a newly-allocated string

Meta

Since

2.26