Secret.Item.set_label

### Method

# Secret Itemset_label

#### Declaration [src]

    void
    secret_item_set_label (
      SecretItem* self,
      const gchar* label,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Set the label of this item.

This function returns immediately and completes asynchronously.

This method completes asynchronously. Use `secret_item_set_label_finish()` inside the `GAsyncReadyCallback` to obtain the result of the operation.

#### Parameters

`label`

  Type: `const gchar*`

  A new label.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`cancellable`

  Type: `GCancellable`

  Optional cancellation object.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`callback`

  Type: `GAsyncReadyCallback`

  Called when the operation completes.

  The argument can be `NULL`.

`user_data`

  Type: `gpointer`

  Data to pass to the callback.

  The argument can be `NULL`.
  The data is owned by the caller of the method.