BookmarkFile.loadFromDataDirs

This function looks for a desktop bookmark file named file in the paths returned from g_get_user_data_dir() and g_get_system_data_dirs(), loads the file into bookmark 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 GBookmarkFileError. Since 2.12

class BookmarkFile
int
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: int

TRUE if a key file could be loaded, FALSE othewise

Throws

GException on failure.

Meta