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. In the event that the group_name cannot be found, null is returned and throws is set to g_key_file_error_group_not_found.

Parameters:

this

a KeyFile

group_name

a group name

length

return location for the number of keys returned, or null

Returns:

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