GLib.BookmarkFile.prototype.load_from_data

function load_from_data(data: String, length: Number(gsize)): Boolean {
    // Gjs wrapper for g_bookmark_file_load_from_data()
}
  

Loads a bookmark file from memory into an empty GLib.BookmarkFile structure. If the object cannot be created then @error is set to a GLib.BookmarkFileError.

Since 2.12

data

desktop bookmarks loaded in memory

length

the length of data in bytes

Returns

true if a desktop bookmark could be loaded.