---
name: "Gtk2::Gdk::PixbufSimpleAnim"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::Gdk::PixbufSimpleAnim"
---

# Gtk2::Gdk::PixbufSimpleAnim(3pm)

wrapper for GdkPixbufSimpleAnim

## NAME

Gtk2::Gdk::PixbufSimpleAnim - wrapper for GdkPixbufSimpleAnim

## HIERARCHY

```
  Glib::Object
  +----Gtk2::Gdk::PixbufAnimation
       +----Gtk2::Gdk::PixbufSimpleAnim
```

## METHODS

### pixbufsimpleanim = Gtk2::Gdk::PixbufSimpleAnim-\>new ($width, $height, $rate)

- •

  `$width` (integer)

- •

  `$height` (integer)

- •

  `$rate` (double)

### $animation-\>add\_frame ($pixbuf)

- •

  `$pixbuf` (Gtk2::Gdk::Pixbuf)

### boolean = $animation-\>get\_loop

Since: gtk+ 2.18

### $animation-\>set\_loop ($loop)

- •

  `$loop` (boolean)

Since: gtk+ 2.18

## PROPERTIES

- 'loop' (boolean : default false : readable / writable)

  Whether the animation should loop when it reaches the end

## SEE ALSO

Gtk2, Glib::Object, Gtk2::Gdk::PixbufAnimation

## COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gtk2 for a full notice.
