Package: glib

Function glib:key-file-boolean-list

Lambda List

glib:key-file-boolean-list (keyfile group key)

Syntax

(g:key-file-boolean-list keyfile group key) => value
(setf (g:key-file-boolean-list keyfile group key) value)

Arguments

keyfile -- a g:key-file instance
group -- a string with the group name
key -- a string with the key name
value -- a list of boolean values

Return Value

The values associated with the key as a list of boolean values, or nil if the key was not found or could not be parsed.

Details

The g:key-file-boolean-list function returns the values associated with key under group as boolean values. The (setf g:key-file-boolean-list) function associates a list of boolean values with key under group. If key cannot be found then it is created. If group is nil, the start group is used.

If key cannot be found then nil is returned. Likewise, if the values associated with key cannot be interpreted as booleans then nil is returned.
 

See also

2025-1-12