Package: glib

Function glib:key-file-load-from-data

Lambda List

glib:key-file-load-from-data (keyfile data flags)

Arguments

keyfile -- a g:key-file instance
data -- a string for the key file loaded in memory
flags -- a g:key-file-flags value

Return Value

True if a key file could be loaded, otherwise false.

Details

Loads a key file from memory into a g:key-file instance. If the data cannot be loaded then false is returned.

Use the g:with-key-file-from-data macro to create and load the key file in one step.
 

See also

2026-02-06