CdkPixbuf.PixbufLoader.get_animation

### Method

# CdkPixbuf PixbufLoaderget_animation

#### Declaration [src]

    CdkPixbufAnimation*
    cdk_pixbuf_loader_get_animation (
      CdkPixbufLoader* loader
    )

#### Description [src]

Queries the `CdkPixbufAnimation` that a pixbuf loader is currently creating.

In general it only makes sense to call this function after the `CdkPixbufLoader::area-prepared` signal has been emitted by the loader.

If the loader doesn’t have enough bytes yet, and hasn’t emitted the `area-prepared` signal, this function will return `NULL`.

#### Return value

Type: `CdkPixbufAnimation`

The animation that the loader is currently loading.

The returned data is owned by the instance.
The return value can be `NULL`.