get_animation


Description:

public unowned PixbufAnimation? get_animation ()

Queries the PixbufAnimation that a pixbuf loader is currently creating.

In general it only makes sense to call this function after the [signalGdkPixbuf.PixbufLoader 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`.

Parameters:

this

A pixbuf loader

Returns:

The animation that the loader is currently loading