Settings.setStrv

Sets key in settings to value. A convenience variant of g_settings_set() for string arrays. If value is NULL, then key is set to be the empty array. It is a programmer error to give a key that isn't specified as having an array of strings type in the schema for settings. Since 2.26

class Settings
int
setStrv
(
string key
,
string[] value
)

Parameters

key string

the name of the key to set

value string[]

the value to set it to, or NULL. [allow-none][array zero-terminated=1]

Return Value

Type: int

TRUE if setting the key succeeded, FALSE if the key was not writable

Meta