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


a valid URI or null


a UTF-8 encoded string