Settings.getStrv

A convenience variant of gio.settings.Settings.get for string arrays.

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.

class Settings
string[]
getStrv
(
string key
)

Parameters

key string

the key to get the value for

Return Value

Type: string[]

a newly-allocated, null-terminated array of strings, the value that is stored at key in settings.