Package: glib

Function glib:key-file-comment

Lambda List

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

Syntax

(g:key-file-comment keyfile group key) => value
(setf (g:key-file-comment 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 comment

Details

The g:key-file-comment retrieves a comment above key from group. If key is nil then the comment will be read from above group. If both key and group are nil, then the comment will be read from above the first group in the file.

The (setf g:key-file-comment) function places a comment above key from group. If key is nil then the comment will be written above group. If both key and group are nil, then the comment will be written above the first group in the file.
 

See also

2025-1-12