Basics
Guides
API Reference
Basics
Guides
API Reference
[170:14] static extends: object
Generated metadata helpers for PixbufSimpleAnim class surfaces.
properties ()
Returns property metadata for
PixbufSimpleAnim.
A list.[12:7] extends: object
An opaque struct representing a simple animation.
PixbufSimpleAnim (width = null, height = null, rate = null)
Creates a new, empty animation.
width is the width of the animation.height is the height of the animation.rate is the speed of the animation, in frames per second.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asPixbufAnimation ()
Wraps this handle as
PixbufAnimation.
A PixbufAnimation object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setLoop (bool Value)
Whether the animation should loop when it reaches the end.
Value is the new property value.None.add_frame (object pixbuf)
Adds a new frame to @animation. The @pixbuf must have the dimensions specified when the animation was constructed.
pixbuf is the pixbuf to add.None.get_loop ()
Gets whether @animation should loop indefinitely when it reaches the end.
set_loop (bool loop)
Sets whether @animation should loop indefinitely when it reaches the end.
loop is whether to loop the animation.None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.