gdkpixbuf.pixbuf_simple_anim

Module for [PixbufSimpleAnim] class

Types 3

An opaque struct representing a simple animation.

Methods
GType _gType() @property
PixbufSimpleAnim self()Returns `this`, for use in `with` statements.
PixbufSimpleAnimGidBuilder builder()Get builder for [gdkpixbuf.pixbufsimpleanim.PixbufSimpleAnim] Returns: New builder object
bool loop() @propertyGet `loop` property. Returns: Whether the animation should loop when it reaches the end.
void loop(bool propval) @propertySet `loop` property. Params: propval = Whether the animation should loop when it reaches the end.
void addFrame(gdkpixbuf.pixbuf.Pixbuf pixbuf)Adds a new frame to animation. The pixbuf must have the dimensions specified when the animation was constructed.
bool getLoop()Gets whether animation should loop indefinitely when it reaches the end. Returns: true if the animation loops forever, false otherwise
void setLoop(bool loop)Sets whether animation should loop indefinitely when it reaches the end.
Constructors
this(void * ptr, Flag!"Take" take)
this(int width, int height, float rate)Creates a new, empty animation.
Methods
T loop(bool propval)Set `loop` property. Params: propval = Whether the animation should loop when it reaches the end. Returns: Builder instance for fluent chaining

Fluent builder for [gdkpixbuf.pixbuf_simple_anim.PixbufSimpleAnim]