Class PixbufSimpleAnim

All Implemented Interfaces:
PointerInterface

public class PixbufSimpleAnim extends PixbufAnimation
An opaque struct representing a simple animation.

https://docs.gtk.org/gdk-pixbuf/class.PixbufSimpleAnim.html

  • Constructor Details

    • PixbufSimpleAnim

      public PixbufSimpleAnim(PointerContainer pointer)
    • PixbufSimpleAnim

      public PixbufSimpleAnim(int width, int height, float rate)
      Creates a new, empty animation.
      Parameters:
      width - the width of the animation
      height - the height of the animation
      rate - the speed of the animation, in frames per second
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • addFrame

      public void addFrame(@Nonnull Pixbuf pixbuf)
      Adds a new frame to @animation. The @pixbuf must
      have the dimensions specified when the animation
      was constructed.
      Parameters:
      pixbuf - the pixbuf to add
    • getLoop

      public boolean getLoop()
      Gets whether @animation should loop indefinitely when it reaches the end.
      Returns:
      %TRUE if the animation loops forever, %FALSE otherwise
    • setLoop

      public void setLoop(boolean loop)
      Sets whether @animation should loop indefinitely when it reaches the end.
      Parameters:
      loop - whether to loop the animation
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()