BookmarkFile.loadFromFile

bool loadFromFile(string filename)

Loads a desktop bookmark file into an empty #GBookmarkFile structure. If the file could not be loaded then error is set to either a #GFileError or #GBookmarkFileError.

Parameters

filenamethe path of a filename to load, in the GLib file name encoding

Returns

true if a desktop bookmark file could be loaded

Throws

[BookmarkFileException]