get_groups


Description:

[ CCode ( array_length_type = "gsize" ) ]
public string[] get_groups ()

Returns all groups in the key file loaded with this.

The array of returned groups will be `NULL`-terminated, so length may optionally be `NULL`.

Parameters:

this

a key file

length

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

Returns:

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