BookmarkFile.loadFromFile

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

class BookmarkFile
bool
loadFromFile
(
string filename
)

Parameters

filename string

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

Return Value

Type: bool

TRUE if a desktop bookmark file could be loaded

Throws

GException on failure.

Meta

Since

2.12