Settings.getStrv

string[] getStrv(string key)

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.

Parameters

keythe key to get the value for

Returns

a

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