Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 404d46ca9bb341d7a0e7e04bc69da9df > files > 775

ghc-gtk-devel-0.12.0-4.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.UI.Gtk.Gdk.PixbufAnimation</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-Gdk-PixbufAnimation.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gtk-0.12.0: Binding to the Gtk+ graphical user interface library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr></table><p class="caption">Graphics.UI.Gtk.Gdk.PixbufAnimation</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Class Hierarchy
</a></li><li><a href="#g:2">Types
</a></li><li><a href="#g:3">Constructors
</a></li><li><a href="#g:4">Methods
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:PixbufAnimation">PixbufAnimation</a> </li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a href="#t:PixbufAnimationClass">PixbufAnimationClass</a> o </li><li class="src short"><a href="#v:castToPixbufAnimation">castToPixbufAnimation</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></li><li class="src short"><a href="#v:gTypePixbufAnimation">gTypePixbufAnimation</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toPixbufAnimation">toPixbufAnimation</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationClass">PixbufAnimationClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:PixbufAnimationIter">PixbufAnimationIter</a> </li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a href="#t:PixbufAnimationIterClass">PixbufAnimationIterClass</a> o </li><li class="src short"><a href="#v:castToPixbufAnimationIter">castToPixbufAnimationIter</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></li><li class="src short"><a href="#v:gTypePixbufAnimationIter">gTypePixbufAnimationIter</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toPixbufAnimationIter">toPixbufAnimationIter</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIterClass">PixbufAnimationIterClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:PixbufSimpleAnim">PixbufSimpleAnim</a> </li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationClass">PixbufAnimationClass</a> o =&gt; <a href="#t:PixbufSimpleAnimClass">PixbufSimpleAnimClass</a> o </li><li class="src short"><a href="#v:castToPixbufSimpleAnim">castToPixbufSimpleAnim</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></li><li class="src short"><a href="#v:gTypePixbufSimpleAnim">gTypePixbufSimpleAnim</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toPixbufSimpleAnim">toPixbufSimpleAnim</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnimClass">PixbufSimpleAnimClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></li><li class="src short"><a href="#v:pixbufAnimationNewFromFile">pixbufAnimationNewFromFile</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></li><li class="src short"><a href="#v:pixbufSimpleAnimNew">pixbufSimpleAnimNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></li><li class="src short"><a href="#v:pixbufAnimationGetWidth">pixbufAnimationGetWidth</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:pixbufAnimationGetHeight">pixbufAnimationGetHeight</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:pixbufAnimationGetIter">pixbufAnimationGetIter</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GDateTime.html#t:GTimeVal">GTimeVal</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></li><li class="src short"><a href="#v:pixbufAnimationIsStaticImage">pixbufAnimationIsStaticImage</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:pixbufAnimationGetStaticImage">pixbufAnimationGetStaticImage</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:Pixbuf">Pixbuf</a>)</li><li class="src short"><a href="#v:pixbufAnimationIterAdvance">pixbufAnimationIterAdvance</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GDateTime.html#t:GTimeVal">GTimeVal</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:pixbufAnimationIterGetDelayTime">pixbufAnimationIterGetDelayTime</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:pixbufAnimationIterOnCurrentlyLoadingFrame">pixbufAnimationIterOnCurrentlyLoadingFrame</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:pixbufAnimationIterGetPixbuf">pixbufAnimationIterGetPixbuf</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:Pixbuf">Pixbuf</a></li><li class="src short"><a href="#v:pixbufSimpleAnimAddFrame">pixbufSimpleAnimAddFrame</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a> -&gt; <a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:Pixbuf">Pixbuf</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:pixbufSimpleAnimSetLoop">pixbufSimpleAnimSetLoop</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:pixbufSimpleAnimGetLoop">pixbufSimpleAnimGetLoop</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1 id="g:1">Class Hierarchy
</h1><div class="doc"><pre>
 | <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObject">GObject</a></code>
 | +----<code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></code>
 | +----<code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></code>
</pre></div><h1 id="g:2">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:PixbufAnimation" class="def">PixbufAnimation</a>  <a href="src/Graphics-UI-Gtk-Types.html#PixbufAnimation" class="link">Source</a></p><div class="subs instances"><p id="control.i:PixbufAnimation" class="caption collapser" onclick="toggleSection('i:PixbufAnimation')">Instances</p><div id="section.i:PixbufAnimation" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationClass">PixbufAnimationClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a name="t:PixbufAnimationClass" class="def">PixbufAnimationClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#PixbufAnimationClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:PixbufAnimationClass" class="caption collapser" onclick="toggleSection('i:PixbufAnimationClass')">Instances</p><div id="section.i:PixbufAnimationClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationClass">PixbufAnimationClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationClass">PixbufAnimationClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToPixbufAnimation" class="def">castToPixbufAnimation</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a><a href="src/Graphics-UI-Gtk-Types.html#castToPixbufAnimation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypePixbufAnimation" class="def">gTypePixbufAnimation</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypePixbufAnimation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toPixbufAnimation" class="def">toPixbufAnimation</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationClass">PixbufAnimationClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a><a href="src/Graphics-UI-Gtk-Types.html#toPixbufAnimation" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:PixbufAnimationIter" class="def">PixbufAnimationIter</a>  <a href="src/Graphics-UI-Gtk-Types.html#PixbufAnimationIter" class="link">Source</a></p><div class="subs instances"><p id="control.i:PixbufAnimationIter" class="caption collapser" onclick="toggleSection('i:PixbufAnimationIter')">Instances</p><div id="section.i:PixbufAnimationIter" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIterClass">PixbufAnimationIterClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a name="t:PixbufAnimationIterClass" class="def">PixbufAnimationIterClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#PixbufAnimationIterClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:PixbufAnimationIterClass" class="caption collapser" onclick="toggleSection('i:PixbufAnimationIterClass')">Instances</p><div id="section.i:PixbufAnimationIterClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIterClass">PixbufAnimationIterClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToPixbufAnimationIter" class="def">castToPixbufAnimationIter</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a><a href="src/Graphics-UI-Gtk-Types.html#castToPixbufAnimationIter" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypePixbufAnimationIter" class="def">gTypePixbufAnimationIter</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypePixbufAnimationIter" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toPixbufAnimationIter" class="def">toPixbufAnimationIter</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIterClass">PixbufAnimationIterClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a><a href="src/Graphics-UI-Gtk-Types.html#toPixbufAnimationIter" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:PixbufSimpleAnim" class="def">PixbufSimpleAnim</a>  <a href="src/Graphics-UI-Gtk-Types.html#PixbufSimpleAnim" class="link">Source</a></p><div class="subs instances"><p id="control.i:PixbufSimpleAnim" class="caption collapser" onclick="toggleSection('i:PixbufSimpleAnim')">Instances</p><div id="section.i:PixbufSimpleAnim" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnimClass">PixbufSimpleAnimClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationClass">PixbufAnimationClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationClass">PixbufAnimationClass</a> o =&gt; <a name="t:PixbufSimpleAnimClass" class="def">PixbufSimpleAnimClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#PixbufSimpleAnimClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:PixbufSimpleAnimClass" class="caption collapser" onclick="toggleSection('i:PixbufSimpleAnimClass')">Instances</p><div id="section.i:PixbufSimpleAnimClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnimClass">PixbufSimpleAnimClass</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToPixbufSimpleAnim" class="def">castToPixbufSimpleAnim</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a><a href="src/Graphics-UI-Gtk-Types.html#castToPixbufSimpleAnim" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypePixbufSimpleAnim" class="def">gTypePixbufSimpleAnim</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypePixbufSimpleAnim" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toPixbufSimpleAnim" class="def">toPixbufSimpleAnim</a> :: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnimClass">PixbufSimpleAnimClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a><a href="src/Graphics-UI-Gtk-Types.html#toPixbufSimpleAnim" class="link">Source</a></p></div><h1 id="g:3">Constructors
</h1><div class="top"><p class="src"><a name="v:pixbufAnimationNewFromFile" class="def">pixbufAnimationNewFromFile</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationNewFromFile" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:FilePath">FilePath</a></td><td class="doc"><p>Name of file to load, in the GLib file name encoding
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc"><p>A newly-created animation
</p></td></tr></table></div><div class="doc"><p>Creates a new animation by loading it from a file. The file
 format is detected automatically. If the file's format does not
 support multi-frame images, then an animation with a single frame
 will be created. Possible errors are in the <code><a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:PixbufError">PixbufError</a></code> and
 <code>GFileError</code> domains.
</p><p>Any of several error conditions may occur: the file could not be
 opened, there was no loader for the file's format, there was not
 enough memory to allocate the image buffer, or the image file
 contained invalid data.
</p><ul><li> If an error occurs, the function will throw an exception that can
 be caught using e.g. <code>System.Glib.GError.catchGErrorJust</code> and one of the
 error codes in <code><a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:PixbufError">PixbufError</a></code> or <code>GFileError</code>
</li></ul></div></div><div class="top"><p class="src"><a name="v:pixbufSimpleAnimNew" class="def">pixbufSimpleAnimNew</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufSimpleAnimNew" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>the width of the animation
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>the height of the animation
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Float">Float</a></td><td class="doc"><p>the speed of the animation, in frames per second
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc"><p>a newly allocated <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></code>
</p></td></tr></table></div><div class="doc"><p>Creates a new, empty animation.
</p><ul><li> Available since Gtk+ version 2.8
</li></ul></div></div><h1 id="g:4">Methods
</h1><div class="top"><p class="src"><a name="v:pixbufAnimationGetWidth" class="def">pixbufAnimationGetWidth</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationGetWidth" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc"><p>An animation.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Width of the bounding box of the animation.
</p></td></tr></table></div><div class="doc"><p>Queries the width of the bounding box of a pixbuf animation.
</p></div></div><div class="top"><p class="src"><a name="v:pixbufAnimationGetHeight" class="def">pixbufAnimationGetHeight</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationGetHeight" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc"><p>An animation.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Height of the bounding box of the animation.
</p></td></tr></table></div><div class="doc"><p>Queries the height of the bounding box of a pixbuf animation.
</p></div></div><div class="top"><p class="src"><a name="v:pixbufAnimationGetIter" class="def">pixbufAnimationGetIter</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationGetIter" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc"><p>a <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GDateTime.html#t:GTimeVal">GTimeVal</a></td><td class="doc"><p>time when the animation starts playing
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc"><p>an iterator to move over the animation
</p></td></tr></table></div><div class="doc"><p>Get an iterator for displaying an animation. The iterator
 provides the frames that should be displayed at a given time. The
 start time would normally come from <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GDateTime.html#v:gGetCurrentTime">gGetCurrentTime</a></code>, and marks
 the beginning of animation playback. After creating an iterator,
 you should immediately display the pixbuf returned by
 <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationIterGetPixbuf">pixbufAnimationIterGetPixbuf</a></code>. Then, you should install a
 timeout (with <code>timeoutAdd</code>) or by some other mechanism ensure
 that you'll update the image after
 <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationIterGetDelayTime">pixbufAnimationIterGetDelayTime</a></code> milliseconds. Each time the
 image is updated, you should reinstall the timeout with the new,
 possibly-changed delay time.
</p><p>As a shortcut, if start_time is <code>Nothing</code>, the result of
 <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GDateTime.html#v:gGetCurrentTime">gGetCurrentTime</a></code> will be used automatically.
</p><p>To update the image (i.e. possibly change the result of
 <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationIterGetPixbuf">pixbufAnimationIterGetPixbuf</a></code> to a new frame of the animation),
 call <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationIterAdvance">pixbufAnimationIterAdvance</a></code>.
</p><p>If you're using <code>PixbufLoader</code>, in addition to updating the image
 after the delay time, you should also update it whenever you
 receive the area_updated signal and
 <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationIterOnCurrentlyLoadingFrame">pixbufAnimationIterOnCurrentlyLoadingFrame</a></code> returns <code>True</code>. In
 this case, the frame currently being fed into the loader has
 received new data, so needs to be refreshed. The delay time for a
 frame may also be modified after an area_updated signal, for
 example if the delay time for a frame is encoded in the data after
 the frame itself. So your timeout should be reinstalled after any
 area_updated signal.
</p><p>A delay time of -1 is possible, indicating <a href="infinite-.html">infinite.</a>
</p></div></div><div class="top"><p class="src"><a name="v:pixbufAnimationIsStaticImage" class="def">pixbufAnimationIsStaticImage</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationIsStaticImage" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>(!(0)) if the <a href="animation.html">animation</a> was really just an image
</p></td></tr></table></div><div class="doc"><p>If you load a file with <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationNewFromFile">pixbufAnimationNewFromFile</a></code> and it turns
 out to be a plain, unanimated image, then this function will
 return <code>True</code>. Use <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationGetStaticImage">pixbufAnimationGetStaticImage</a></code> to retrieve
 the image.
</p></div></div><div class="top"><p class="src"><a name="v:pixbufAnimationGetStaticImage" class="def">pixbufAnimationGetStaticImage</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationGetStaticImage" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimation">PixbufAnimation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:Pixbuf">Pixbuf</a>)</td><td class="doc"><p>unanimated image representing the animation
</p></td></tr></table></div><div class="doc"><p>If an animation is really just a plain image (has only one
 frame), this function returns that image. If the animation is an
 animation, this function returns a reasonable thing to display as
 a static unanimated image, which might be the first frame, or
 something more sophisticated. If an animation hasn't loaded any
 frames yet, this function will return <code>Nothing</code>.
</p></div></div><div class="top"><p class="src"><a name="v:pixbufAnimationIterAdvance" class="def">pixbufAnimationIterAdvance</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationIterAdvance" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc"><p>A <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GDateTime.html#t:GTimeVal">GTimeVal</a></td><td class="doc"><p>current time
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>True</code> if the image may need updating
</p></td></tr></table></div><div class="doc"><p>Possibly advances an animation to a new frame. Chooses the frame
 based on the start time passed to <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationGetIter">pixbufAnimationGetIter</a></code>.
</p><p>current_time would normally come from <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GDateTime.html#v:gGetCurrentTime">gGetCurrentTime</a></code>, and must
 be greater than or equal to the time passed to
 <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationGetIter">pixbufAnimationGetIter</a></code>, and must increase or remain unchanged
 each time <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationIterGetPixbuf">pixbufAnimationIterGetPixbuf</a></code> is called. That is, you
 can't go backward in time; animations only play forward.
</p><p>As a shortcut, pass <code>Nothing</code> for the current time and
 <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GDateTime.html#v:gGetCurrentTime">gGetCurrentTime</a></code> will be invoked on your behalf. So you only need
 to explicitly pass current_time if you're doing something odd like
 playing the animation at double speed.
</p><p>If this function returns <code>False</code>, there's no need to update the
 animation display, assuming the display had been rendered prior to
 advancing; if <code>True</code>, you need to call <code>animationIterGetPixbuf</code> and
 update the display with the new pixbuf.
</p></div></div><div class="top"><p class="src"><a name="v:pixbufAnimationIterGetDelayTime" class="def">pixbufAnimationIterGetDelayTime</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationIterGetDelayTime" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc"><p>an animation iterator
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>delay time in milliseconds (thousandths of a second)
</p></td></tr></table></div><div class="doc"><p>Gets the number of milliseconds the current pixbuf should be
 displayed, or -1 if the current pixbuf should be displayed
 forever. <code>timeoutAdd</code> conveniently takes a timeout in
 milliseconds, so you can use a timeout to schedule the next
 update.
</p></div></div><div class="top"><p class="src"><a name="v:pixbufAnimationIterOnCurrentlyLoadingFrame" class="def">pixbufAnimationIterOnCurrentlyLoadingFrame</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationIterOnCurrentlyLoadingFrame" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>True</code> if the frame we're on is partially loaded, or the last frame
</p></td></tr></table></div><div class="doc"><p>Used to determine how to respond to the area_updated signal on
 <code>PixbufLoader</code> when loading an animation. area_updated is emitted
 for an area of the frame currently streaming in to the loader. So
 if you're on the currently loading frame, you need to redraw the
 screen for the updated area.
</p></div></div><div class="top"><p class="src"><a name="v:pixbufAnimationIterGetPixbuf" class="def">pixbufAnimationIterGetPixbuf</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufAnimationIterGetPixbuf" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufAnimationIter">PixbufAnimationIter</a></td><td class="doc"><p>an animation iterator
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:Pixbuf">Pixbuf</a></td><td class="doc"><p>the pixbuf to be displayed
</p></td></tr></table></div><div class="doc"><p>Gets the current pixbuf which should be displayed; the pixbuf will
 be the same size as the animation itself
 (<code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationGetWidth">pixbufAnimationGetWidth</a></code>, <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationGetHeight">pixbufAnimationGetHeight</a></code>). This
 pixbuf should be displayed for <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationIterGetDelayTime">pixbufAnimationIterGetDelayTime</a></code>
 milliseconds. The caller of this function does not own a reference
 to the returned pixbuf; the returned pixbuf will become invalid
 when the iterator advances to the next frame, which may happen
 anytime you call <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#v:pixbufAnimationIterAdvance">pixbufAnimationIterAdvance</a></code>. Copy the pixbuf to
 keep it (don't just add a reference), as it may get recycled as you
 advance the iterator.
</p></div></div><div class="top"><p class="src"><a name="v:pixbufSimpleAnimAddFrame" class="def">pixbufSimpleAnimAddFrame</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufSimpleAnimAddFrame" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc"><p>a <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Gdk-Pixbuf.html#t:Pixbuf">Pixbuf</a></td><td class="doc"><p>the pixbuf to add
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Adds a new frame to animation. The pixbuf must have the
 dimensions specified when the animation was constructed.
</p><ul><li> Available since Gtk+ version 2.8
</li></ul></div></div><div class="top"><p class="src"><a name="v:pixbufSimpleAnimSetLoop" class="def">pixbufSimpleAnimSetLoop</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufSimpleAnimSetLoop" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc"><p>a <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>whether to loop the animation
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets whether animation should loop indefinitely when it reaches
 the end.
</p><ul><li> Available since Gtk+ version 2.18
</li></ul></div></div><div class="top"><p class="src"><a name="v:pixbufSimpleAnimGetLoop" class="def">pixbufSimpleAnimGetLoop</a><a href="src/Graphics-UI-Gtk-Gdk-PixbufAnimation.html#pixbufSimpleAnimGetLoop" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></td><td class="doc"><p>a <code><a href="Graphics-UI-Gtk-Gdk-PixbufAnimation.html#t:PixbufSimpleAnim">PixbufSimpleAnim</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>True</code> if the animation loops forever, <code>False</code> otherwise
</p></td></tr></table></div><div class="doc"><p>Gets whether animation should loop indefinitely when it reaches
 the end.
</p><ul><li> Available since Gtk+ version 2.18
</li></ul></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>