get_keys


Description:

[ CCode ( array_length_type = "gsize" ) ]
public string[] get_keys (string group_name) throws KeyFileError

Returns all keys for the group name group_name.

The array of returned keys will be `NULL`-terminated, so length may optionally be `NULL`. If the group_name cannot be found, [error@GLib.KeyFileError.GROUP_NOT_FOUND] is returned.

Parameters:

this

a key file

group_name

a group name

length

return location for the number of keys returned, or `NULL` to ignore

Returns:

a newly-allocated `NULL`-terminated array of strings. Use [func@GLib.strfreev] to free it.