BookmarkFile.loadFromDataDirs

This function looks for a desktop bookmark file named file in the paths returned from glib.global.getUserDataDir and glib.global.getSystemDataDirs, loads the file into bookmark and returns the file's full path in full_path. If the file could not be loaded then error is set to either a #GFileError or #GBookmarkFileError.

class BookmarkFile
bool
loadFromDataDirs
(
string file
,
out string fullPath
)

Parameters

file string

a relative path to a filename to open and parse

fullPath string

return location for a string containing the full path of the file, or null

Return Value

Type: bool

true if a key file could be loaded, false otherwise