<!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/xhtml;charset=UTF-8"/> <title>gtkmm: Gdk::PixbufAnimation Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGdk.html">Gdk</a> </li> <li class="navelem"><a class="el" href="classGdk_1_1PixbufAnimation.html">PixbufAnimation</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gdk::PixbufAnimation Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gdk::PixbufAnimation" --><!-- doxytag: inherits="Glib::Object" --> <p>The gdk-pixbuf library provides a simple mechanism to load and represent animations. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gdk::PixbufAnimation:</div> <div class="dyncontent"> <div class="center"><img src="classGdk_1_1PixbufAnimation__inherit__graph.png" border="0" usemap="#Gdk_1_1PixbufAnimation_inherit__map" alt="Inheritance graph"/></div> <map name="Gdk_1_1PixbufAnimation_inherit__map" id="Gdk_1_1PixbufAnimation_inherit__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="37,160,131,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="21,83,147,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="27,5,141,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gdk::PixbufAnimation:</div> <div class="dyncontent"> <div class="center"><img src="classGdk_1_1PixbufAnimation__coll__graph.png" border="0" usemap="#Gdk_1_1PixbufAnimation_coll__map" alt="Collaboration graph"/></div> <map name="Gdk_1_1PixbufAnimation_coll__map" id="Gdk_1_1PixbufAnimation_coll__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="37,160,131,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="21,83,147,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="27,5,141,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGdk_1_1PixbufAnimation-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a17db13cdf6b87ed6e4ee9f2bacd685a9">~PixbufAnimation</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GdkPixbufAnimation* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a2bd240996977822cb78fe557fc8c07f0">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2bd240996977822cb78fe557fc8c07f0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GdkPixbufAnimation* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a48e7979c35a6a4482db6137d179fe10e">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a48e7979c35a6a4482db6137d179fe10e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GdkPixbufAnimation* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a4eba6a2ff85859cfc4171015861ffcbf">gobj_copy</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a4eba6a2ff85859cfc4171015861ffcbf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a50a299f886fcad0bfed2a7c81986be39">get_width</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a5caa2145a85dbb488ca60b03c72b2782">get_height</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#ac80a08e196de1df9282e851e22a642e4">is_static_image</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a4efed6e73f1034242e787b454f485566">get_static_image</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1PixbufAnimationIter.html">PixbufAnimationIter</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a7ad528dcc330239499e0c0f6010905b7">get_iter</a> (const GTimeVal* start_time)</td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < <a class="el" href="classGdk_1_1PixbufAnimation.html">PixbufAnimation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a039f247eb93253b2242c4eadfa7f0a79">create_from_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& filename)</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < <a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufAnimation.html#a2685688544b6da7582ab2eb2d4e51111">wrap</a> (GdkPixbufAnimation* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a2685688544b6da7582ab2eb2d4e51111"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>The gdk-pixbuf library provides a simple mechanism to load and represent animations. </p> <p>An animation is conceptually a series of frames to be displayed over time. Each frame is the same size. The animation may not be represented as a series of frames internally; for example, it may be stored as a sprite and instructions for moving the sprite around a background. To display an animation you don't need to understand its representation, however; you just ask gdk-pixbuf what should be displayed at a given point in time. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a17db13cdf6b87ed6e4ee9f2bacd685a9"></a><!-- doxytag: member="Gdk::PixbufAnimation::~PixbufAnimation" ref="a17db13cdf6b87ed6e4ee9f2bacd685a9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gdk::PixbufAnimation::~PixbufAnimation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a039f247eb93253b2242c4eadfa7f0a79"></a><!-- doxytag: member="Gdk::PixbufAnimation::create_from_file" ref="a039f247eb93253b2242c4eadfa7f0a79" args="(const Glib::ustring &filename)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimation.html">PixbufAnimation</a>> Gdk::PixbufAnimation::create_from_file </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>filename</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a5caa2145a85dbb488ca60b03c72b2782"></a><!-- doxytag: member="Gdk::PixbufAnimation::get_height" ref="a5caa2145a85dbb488ca60b03c72b2782" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gdk::PixbufAnimation::get_height </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a7ad528dcc330239499e0c0f6010905b7"></a><!-- doxytag: member="Gdk::PixbufAnimation::get_iter" ref="a7ad528dcc330239499e0c0f6010905b7" args="(const GTimeVal *start_time)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimationIter.html">PixbufAnimationIter</a>> Gdk::PixbufAnimation::get_iter </td> <td>(</td> <td class="paramtype">const GTimeVal * </td> <td class="paramname"><em>start_time</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4efed6e73f1034242e787b454f485566"></a><!-- doxytag: member="Gdk::PixbufAnimation::get_static_image" ref="a4efed6e73f1034242e787b454f485566" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>> Gdk::PixbufAnimation::get_static_image </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a50a299f886fcad0bfed2a7c81986be39"></a><!-- doxytag: member="Gdk::PixbufAnimation::get_width" ref="a50a299f886fcad0bfed2a7c81986be39" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gdk::PixbufAnimation::get_width </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a2bd240996977822cb78fe557fc8c07f0"></a><!-- doxytag: member="Gdk::PixbufAnimation::gobj" ref="a2bd240996977822cb78fe557fc8c07f0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdkPixbufAnimation* Gdk::PixbufAnimation::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p> </div> </div> <a class="anchor" id="a48e7979c35a6a4482db6137d179fe10e"></a><!-- doxytag: member="Gdk::PixbufAnimation::gobj" ref="a48e7979c35a6a4482db6137d179fe10e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GdkPixbufAnimation* Gdk::PixbufAnimation::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p> </div> </div> <a class="anchor" id="a4eba6a2ff85859cfc4171015861ffcbf"></a><!-- doxytag: member="Gdk::PixbufAnimation::gobj_copy" ref="a4eba6a2ff85859cfc4171015861ffcbf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdkPixbufAnimation* Gdk::PixbufAnimation::gobj_copy </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> </div> </div> <a class="anchor" id="ac80a08e196de1df9282e851e22a642e4"></a><!-- doxytag: member="Gdk::PixbufAnimation::is_static_image" ref="ac80a08e196de1df9282e851e22a642e4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gdk::PixbufAnimation::is_static_image </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a2685688544b6da7582ab2eb2d4e51111"></a><!-- doxytag: member="Gdk::PixbufAnimation::wrap" ref="a2685688544b6da7582ab2eb2d4e51111" args="(GdkPixbufAnimation *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a> > wrap </td> <td>(</td> <td class="paramtype">GdkPixbufAnimation * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gdkmm/pixbufanimation.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>