get_boolean_list
Description:
[ CCode ( array_length_type = "gsize" ) ]
public bool[] get_boolean_list (string group_name, string key) throws KeyFileError
public bool[] get_boolean_list (string group_name, string key) throws KeyFileError
Returns the values associated with key under group_name as booleans.
If key cannot be found then [error@GLib.KeyFileError.KEY_NOT_FOUND] is returned. Likewise, if the values associated with key
cannot be interpreted as booleans then [error@GLib.KeyFileError.INVALID_VALUE] is returned.
Parameters:
| this |
a key file |
| group_name |
a group name |
| key |
a key |
| length |
the number of booleans returned |
Returns:
|
the values associated with the key as a list of booleans, or `NULL` if the key was not found or could not be parsed. The returned list of booleans should be freed with [func@GLib.free] when no longer needed. |