KeyFile.getStringList

Returns the values associated with key under group_name. In the event the key cannot be found, NULL is returned and error is set to G_KEY_FILE_ERROR_KEY_NOT_FOUND. In the event that the group_name cannot be found, NULL is returned and error is set to G_KEY_FILE_ERROR_GROUP_NOT_FOUND. Since 2.6

class KeyFile
string[]
getStringList
(
string groupName
,
string key
,)

Parameters

groupName string

a group name

key string

a key

length gsize

return location for the number of returned strings, or NULL

Return Value

Type: string[]

a NULL-terminated string array or NULL if the specified key cannot be found. The array should be freed with g_strfreev().

Throws

GException on failure.

Meta