KeyFile.loadFromDataDirs
bool loadFromDataDirs(string file, out string fullPath, glib.types.KeyFileFlags flags)This function looks for a key file named file in the paths returned from [glib.global.getUserDataDir] and [glib.global.getSystemDataDirs], loads the file into key_file and returns the file's full path in full_path. If the file could not be loaded then an error is set to either a #GFileError or #GKeyFileError.
Parameters
file | a relative path to a filename to open and parse |
fullPath | return location for a string containing the full path of the file, or null |
flags | flags from #GKeyFileFlags |
Returns
true if a key file could be loaded, false otherwise
Throws
[KeyFileException]