GLib.BookmarkFile.prototype.load_from_data_dirs
function load_from_data_dirs(file: String, full_path: String): Boolean { // Gjs wrapper for g_bookmark_file_load_from_data_dirs() }
This function looks for a desktop bookmark file named file in the paths returned from GLib.get_user_data_dir and GLib.get_system_data_dirs, loads the file into bookmark and returns the file's full path in full_path. If the file could not be loaded then an %error is set to either a GLib.FileError or GLib.BookmarkFileError.
Since 2.12
- file
a relative path to a filename to open and parse
- full_path
return location for a string containing the full path of the file, or null
- Returns
true if a key file could be loaded, false otherwise