load_from_file


Description:

public bool load_from_file (string file) throws BookmarkFileError, FileError

Loads a desktop bookmark file into an empty BookmarkFile structure.

If the file could not be loaded then throws is set to either a FileError or BookmarkFileError.

Parameters:

this

an empty BookmarkFile struct

filename

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

Returns:

true if a desktop bookmark file could be loaded