GLib.BookmarkFile.prototype.set_title
function set_title(uri: String, title: String): void { // Gjs wrapper for g_bookmark_file_set_title() }
Sets title as the title of the bookmark for uri inside the bookmark file bookmark.
If uri is null, the title of bookmark is set.
If a bookmark for uri cannot be found then it is created.
Since 2.12
- uri
a valid URI or null
- title
a UTF-8 encoded string