Gtk.Image.prototype.set_from_animation

function set_from_animation(animation:GdkPixbuf.PixbufAnimation):void {
    // Gjs wrapper for gtk_image_set_from_animation()
}

Causes the Gtk.Image to display the given animation (or display nothing, if you set the animation to null).