Gck.Object.get_template_async

### Method

# Gck Objectget_template_async

#### Declaration [src]

    void
    gck_object_get_template_async (
      GckObject* self,
      gulong attr_type,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Get an attribute template from the object. The `attr_type` must be for an attribute which returns a template.

This call will return immediately and complete asynchronously.

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

#### Parameters

`attr_type`

  Type: `gulong`

  The template attribute type.

`cancellable`

  Type: `GCancellable`

  Optional cancellation object, or `NULL`.

  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 be passed to the callback.

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