### Method

# Secret Collection set_label

#### Declaration [src]

    void
    secret_collection_set_label (
      SecretCollection* self,
      const gchar* label,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Set the label of this collection.

This function returns immediately and completes asynchronously.

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

Sets property | `Secret.Collection:label`

#### 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.