GLib.BookmarkFile.prototype.set_description

function set_description(uri: String, description: String): void {
    // Gjs wrapper for g_bookmark_file_set_description()
}
  

Sets description as the description of the bookmark for uri.

If uri is null, the description 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

description

a string