Secret.Item.prototype.set_label_sync
function set_label_sync(label: String, cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for secret_item_set_label_sync()
}
Set the label of this item.
This function may block indefinetely. Use the asynchronous version in user interface threads.
- label
a new label
- cancellable
optional cancellation object
- Returns
whether the change was successful or not