GLib.BookmarkFile.prototype.load_from_file
function load_from_file(filename: String): Boolean { // Gjs wrapper for g_bookmark_file_load_from_file() }
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 GLib.FileError or GLib.BookmarkFileError.
Since 2.12
- filename
the path of a filename to load, in the GLib file name encoding
- Returns
true if a desktop bookmark file could be loaded