Package: glib

Function glib:key-file-string

Lambda List

glib:key-file-string (keyfile group key)

Syntax

(g:key-file-string keyfile group key) => value
(setf (g:key-file-string 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 string with the value for key

Details

The g:key-file-string function returns the string value associated with key under group. In the event the key or the group name cannot be found, nil is returned. The (setf g:key-file-string) function associates a new string value with key under group. If key or group cannot be found then they are created. Unlike the g:key-file-value function, this function handles characters that need escaping, such as newlines.
 

See also

2025-1-12