# Method GTK2.GdkPixbufLoader()->get_animation()

Method get_animation

  ``GTK2.GdkPixbufAnimation` get_animation()`

Description

  Queries the GDK2.PixbufAnimation that a pixbuf loader is currently creating. In general it only makes sense to call this function after the "area-prepared" signal has been emitted by the loader. If the loader doesn't have enough bytes yet (hasn't emitted the "area-prepared" signal) this function will return NULL.