Secret.Collection.prototype.set_label

function set_label(label: String, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for secret_collection_set_label()
}
  

Set the label of this collection.

This function returns immediately and completes asynchronously.

label

a new label

cancellable

optional cancellation object

callback

called when the operation completes