Gio.LoadableIcon.load_async

### Method

# Gio LoadableIconload_async

#### Declaration [src]

    void
    g_loadable_icon_load_async (
      GLoadableIcon* icon,
      int size,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Loads an icon asynchronously. To finish this function, see g_loadable_icon_load_finish(). For the synchronous, blocking version of this function, see g_loadable_icon_load().

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

#### Parameters

`size`

  Type: `int`

  An integer.

`cancellable`

  Type: `GCancellable`

  Optional `GCancellable` object, `NULL` to ignore.

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

`callback`

  Type: `GAsyncReadyCallback`

  A `GAsyncReadyCallback` to call when the request is satisfied.

  The argument can be `NULL`.

`user_data`

  Type: `gpointer`

  The data to pass to callback function.

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