GLib.BookmarkFile.prototype.get_is_private
function get_is_private(uri: String): Boolean { // Gjs wrapper for g_bookmark_file_get_is_private() }
Gets whether the private flag of the bookmark for uri is set.
In the event the URI cannot be found, false is returned and @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. In the event that the private flag cannot be found, false is returned and @error is set to #G_BOOKMARK_FILE_ERROR_INVALID_VALUE.
Since 2.12
- uri
a valid URI
- Returns
true if the private flag is set, false otherwise.