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. Since 2.6

class KeyFile
string[]
getKeys
(
string groupName
,)

Parameters

groupName string

a group name

length gsize

return location for the number of keys returned, or NULL

Return Value

Type: string[]

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

Throws

GException on failure.

Meta