GLib.BookmarkFile.prototype.get_title

function get_title(uri: String): String {
    // Gjs wrapper for g_bookmark_file_get_title()
}
  

Returns the title of the bookmark for uri.

If uri is null, the title of bookmark is returned.

In the event the URI cannot be found, null is returned and @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.

Since 2.12

uri

a valid URI or null

Returns

a newly allocated string or null if the specified URI cannot be found.