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 Value

Type: string[]

a newly-allocated null-terminated array of strings. Use glib.global.strfreev to free it.