KeyFile.getKeys

Returns all keys for the group name @group_name. The array of returned keys will be %NULL-terminated, so @length may optionally be %NULL. 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[]
getKeys
(
string groupName
,
out size_t length
)

Parameters

groupName string

a group name

length size_t

return location for the number of keys returned, or %NULL

Return: a newly-allocated %NULL-terminated array of strings. Use g_strfreev() to free it.

Throws

GException on failure.

Meta