PixbufSimpleAnim

open class PixbufSimpleAnim(pointer: <Error class: unknown class><<Error class: unknown class>>) : PixbufAnimation

An opaque struct representing a simple animation.

Constructors

Link copied to clipboard
constructor(width: <Error class: unknown class>, height: <Error class: unknown class>, rate: <Error class: unknown class>)

Creates a new, empty animation.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gdkpixbufPixbufAnimationPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gdkpixbufPixbufSimpleAnimPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var loop: Boolean

Whether the animation should loop when it reaches the end.

Functions

Link copied to clipboard
open fun addFrame(pixbuf: Pixbuf)

Adds a new frame to @animation. The @pixbuf must have the dimensions specified when the animation was constructed.

Link copied to clipboard
open fun getHeight(): <Error class: unknown class>

Queries the height of the bounding box of a pixbuf animation.

Link copied to clipboard
open fun getIter(startTime: <Error class: unknown class>? = null): PixbufAnimationIter

Get an iterator for displaying an animation.

Link copied to clipboard

Retrieves a static image for the animation.

Link copied to clipboard
open fun getWidth(): <Error class: unknown class>

Queries the width of the bounding box of a pixbuf animation.

Link copied to clipboard

Checks whether the animation is a static image.

Link copied to clipboard
open fun ref(): PixbufAnimation

Adds a reference to an animation.

Link copied to clipboard
open fun unref()

Removes a reference from an animation.