GLib.KeyFile.prototype.get_keys

function get_keys(group_name: String): [return_value: Array(String), length: Number(gsize)] {
    // Gjs wrapper for g_key_file_get_keys()
}
  

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

group_name

a group name

return_value

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

length

return location for the number of keys returned, or null