---
name: "Gtk2::Gdk::PixbufAnimation"
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::PixbufAnimation"
---

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

wrapper for GdkPixbufAnimation

## NAME

Gtk2::Gdk::PixbufAnimation - wrapper for GdkPixbufAnimation

## HIERARCHY

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

## METHODS

### pixbufanimation = Gtk2::Gdk::PixbufAnimation-\>new\_from\_file ($filename)

- •

  `$filename` (localized file name)

May croak with a Glib::Error in $@ on failure.

### integer = $animation-\>get\_height

### boolean = $animation-\>is\_static\_image

### pixbufanimationiter = $animation-\>get\_iter ($start\_time\_seconds=0, $start\_time\_microseconds=0)

- •

  `$start_time_seconds` (integer)

- •

  `$start_time_microseconds` (integer)

The seconds and microseconds values are available from Time::HiRes, which is standard since perl 5.8.0.  If both are undef or omitted, the function uses the current time.

### pixbuf = $animation-\>get\_static\_image

### integer = $animation-\>get\_width

## SEE ALSO

Gtk2, Glib::Object

## COPYRIGHT

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

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