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.

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

Parameters

groupName string

a group name

key string

a key

Return: 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