Sets our main struct and passes it to the parent class.
Creates a new, empty animation.
Adds a new frame to @animation. The @pixbuf must have the dimensions specified when the animation was constructed.
Gets whether @animation should loop indefinitely when it reaches the end.
Get the main Gtk struct
the main Gtk struct as a void*
Sets whether @animation should loop indefinitely when it reaches the end.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Creates a new animation by asynchronously loading an image from an input stream.
Queries the height of the bounding box of a pixbuf animation.
Get an iterator for displaying an animation. The iterator provides the frames that should be displayed at a given time. It should be freed after use with g_object_unref().
If an animation is really just a plain image (has only one frame), this function returns that image. If the animation is an animation, this function returns a reasonable thing to display as a static unanimated image, which might be the first frame, or something more sophisticated. If an animation hasn't loaded any frames yet, this function will return %NULL.
Queries the width of the bounding box of a pixbuf animation.
If you load a file with gdk_pixbuf_animation_new_from_file() and it turns out to be a plain, unanimated image, then this function will return %TRUE. Use gdk_pixbuf_animation_get_static_image() to retrieve the image.
Adds a reference to an animation.
Removes a reference from an animation.
An opaque struct representing a simple animation.