get_strv


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "2.26" ) ]
public string[] get_strv (string key)

A convenience variant of @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 this.

Parameters:

this

a Settings object

key

the key to get the value for

Returns:

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