GLib.KeyFile.prototype.get_groups

function get_groups(): [return_value: Array(String), length: Number(gsize)] {
    // Gjs wrapper for g_key_file_get_groups()
}
  

Returns all groups in the key file loaded with key_file. The array of returned groups will be null-terminated, so length may optionally be null.

Since 2.6

return_value

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

length

return location for the number of returned groups, or null