Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 36a4a1ce4320fd74059ccc32828cc5d4 > files > 59

gtkmm3.0-doc-3.14.0-2.mga5.noarch.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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>gtkmm: Gdk::PixbufLoader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm
   &#160;<span id="projectnumber">3.14.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;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_1PixbufLoader.html">PixbufLoader</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classGdk_1_1PixbufLoader-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gdk::PixbufLoader Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;gdkmm/pixbufloader.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Gdk::PixbufLoader:</div>
<div class="dyncontent">
<div class="center"><img src="classGdk_1_1PixbufLoader__inherit__graph.png" border="0" usemap="#Gdk_1_1PixbufLoader_inherit__map" alt="Inheritance graph"/></div>
<map name="Gdk_1_1PixbufLoader_inherit__map" id="Gdk_1_1PixbufLoader_inherit__map">
<area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="26,155,120,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="10,80,136,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="16,5,131,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad84541e46f4e048fa8b8bc7eb2774dc0"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ad84541e46f4e048fa8b8bc7eb2774dc0">~PixbufLoader</a> ()</td></tr>
<tr class="separator:ad84541e46f4e048fa8b8bc7eb2774dc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68a692fc8f18fac87659cb9ce4219df6"><td class="memItemLeft" align="right" valign="top">GdkPixbufLoader*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a68a692fc8f18fac87659cb9ce4219df6">gobj</a> ()</td></tr>
<tr class="memdesc:a68a692fc8f18fac87659cb9ce4219df6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a68a692fc8f18fac87659cb9ce4219df6">More...</a><br /></td></tr>
<tr class="separator:a68a692fc8f18fac87659cb9ce4219df6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99541d054d563108b0bfe05c31b870c0"><td class="memItemLeft" align="right" valign="top">const GdkPixbufLoader*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a99541d054d563108b0bfe05c31b870c0">gobj</a> () const </td></tr>
<tr class="memdesc:a99541d054d563108b0bfe05c31b870c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a99541d054d563108b0bfe05c31b870c0">More...</a><br /></td></tr>
<tr class="separator:a99541d054d563108b0bfe05c31b870c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab86dda7f88d82cf1374617ad978466c7"><td class="memItemLeft" align="right" valign="top">GdkPixbufLoader*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ab86dda7f88d82cf1374617ad978466c7">gobj_copy</a> ()</td></tr>
<tr class="memdesc:ab86dda7f88d82cf1374617ad978466c7"><td class="mdescLeft">&#160;</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="#ab86dda7f88d82cf1374617ad978466c7">More...</a><br /></td></tr>
<tr class="separator:ab86dda7f88d82cf1374617ad978466c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a295cd5abb9e14975a6836f1bb568db58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a295cd5abb9e14975a6836f1bb568db58">set_size</a> (int width, int height)</td></tr>
<tr class="memdesc:a295cd5abb9e14975a6836f1bb568db58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Causes the image to be scaled while it is loaded.  <a href="#a295cd5abb9e14975a6836f1bb568db58">More...</a><br /></td></tr>
<tr class="separator:a295cd5abb9e14975a6836f1bb568db58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90ce41040208597527cf2251631aad45"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a90ce41040208597527cf2251631aad45">write</a> (const guint8* buf, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01659.html#gad2f89a1340c43c8451e522d045aaa1b6">count</a>)</td></tr>
<tr class="memdesc:a90ce41040208597527cf2251631aad45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Causes the pixbuf loader to parse the next <em>count</em> bytes of an image.  <a href="#a90ce41040208597527cf2251631aad45">More...</a><br /></td></tr>
<tr class="separator:a90ce41040208597527cf2251631aad45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9512407e3feac5405a6ac6e12ef23bfd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a9512407e3feac5405a6ac6e12ef23bfd">close</a> ()</td></tr>
<tr class="memdesc:a9512407e3feac5405a6ac6e12ef23bfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Informs a pixbuf loader that no further writes with <a class="el" href="classGdk_1_1PixbufLoader.html#a90ce41040208597527cf2251631aad45" title="Causes the pixbuf loader to parse the next count bytes of an image. ">PixbufLoader::write()</a> will occur, so that it can free its internal loading structures.  <a href="#a9512407e3feac5405a6ac6e12ef23bfd">More...</a><br /></td></tr>
<tr class="separator:a9512407e3feac5405a6ac6e12ef23bfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa818981d7690da1fd23a10f5cde21a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a4aa818981d7690da1fd23a10f5cde21a">get_pixbuf</a> ()</td></tr>
<tr class="memdesc:a4aa818981d7690da1fd23a10f5cde21a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> that a pixbuf loader is currently creating.  <a href="#a4aa818981d7690da1fd23a10f5cde21a">More...</a><br /></td></tr>
<tr class="separator:a4aa818981d7690da1fd23a10f5cde21a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e69e076ec80ee35b0acaaf6824a3570"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" />
&lt; <a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a9e69e076ec80ee35b0acaaf6824a3570">get_animation</a> ()</td></tr>
<tr class="memdesc:a9e69e076ec80ee35b0acaaf6824a3570"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the <a class="el" href="classGdk_1_1PixbufAnimation.html" title="The gdk-pixbuf library provides a simple mechanism to load and represent animations. ">Gdk::PixbufAnimation</a> that a pixbuf loader is currently creating.  <a href="#a9e69e076ec80ee35b0acaaf6824a3570">More...</a><br /></td></tr>
<tr class="separator:a9e69e076ec80ee35b0acaaf6824a3570"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1785b9798362416ffb03ce02dd267d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ab1785b9798362416ffb03ce02dd267d5">get_format</a> () const </td></tr>
<tr class="memdesc:ab1785b9798362416ffb03ce02dd267d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the available information about the format of the currently loading image file.  <a href="#ab1785b9798362416ffb03ce02dd267d5">More...</a><br /></td></tr>
<tr class="separator:ab1785b9798362416ffb03ce02dd267d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a511c0929d1e481cd98faf77bd2d579c6"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a511c0929d1e481cd98faf77bd2d579c6">signal_area_prepared</a> ()</td></tr>
<tr class="memdesc:a511c0929d1e481cd98faf77bd2d579c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size.  <a href="#a511c0929d1e481cd98faf77bd2d579c6">More...</a><br /></td></tr>
<tr class="separator:a511c0929d1e481cd98faf77bd2d579c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad816c3154d7abe8519633aa2727eb5ba"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy4.html">Glib::SignalProxy4</a>&lt; void, int, <br class="typebreak" />
int, int, int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ad816c3154d7abe8519633aa2727eb5ba">signal_area_updated</a> ()</td></tr>
<tr class="memdesc:ad816c3154d7abe8519633aa2727eb5ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when a significant area of the image being loaded has been updated.  <a href="#ad816c3154d7abe8519633aa2727eb5ba">More...</a><br /></td></tr>
<tr class="separator:ad816c3154d7abe8519633aa2727eb5ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d72e897acfb0c56eaaf72f046db134f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a2d72e897acfb0c56eaaf72f046db134f">signal_closed</a> ()</td></tr>
<tr class="memdesc:a2d72e897acfb0c56eaaf72f046db134f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when <a class="el" href="classGdk_1_1PixbufLoader.html#a9512407e3feac5405a6ac6e12ef23bfd" title="Informs a pixbuf loader that no further writes with PixbufLoader::write() will occur, so that it can free its internal loading structures. ">close()</a> is called.  <a href="#a2d72e897acfb0c56eaaf72f046db134f">More...</a><br /></td></tr>
<tr class="separator:a2d72e897acfb0c56eaaf72f046db134f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26f567bc1828c59a8b8a710115e86b2f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void, int, <br class="typebreak" />
int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a26f567bc1828c59a8b8a710115e86b2f">signal_size_prepared</a> ()</td></tr>
<tr class="memdesc:a26f567bc1828c59a8b8a710115e86b2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is emitted when the pixbuf loader has been fed the initial amount of data that is required to figure out the size of the image that it will create.  <a href="#a26f567bc1828c59a8b8a710115e86b2f">More...</a><br /></td></tr>
<tr class="separator:a26f567bc1828c59a8b8a710115e86b2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab992c7f075ced8a0eb1a24b44da2d972"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ab992c7f075ced8a0eb1a24b44da2d972">get_type</a> ()</td></tr>
<tr class="memdesc:ab992c7f075ced8a0eb1a24b44da2d972"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#ab992c7f075ced8a0eb1a24b44da2d972">More...</a><br /></td></tr>
<tr class="separator:ab992c7f075ced8a0eb1a24b44da2d972"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae671a5fd6f63039b761f5d78475a3f92"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ae671a5fd6f63039b761f5d78475a3f92">create</a> ()</td></tr>
<tr class="memdesc:ae671a5fd6f63039b761f5d78475a3f92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf loader object.  <a href="#ae671a5fd6f63039b761f5d78475a3f92">More...</a><br /></td></tr>
<tr class="separator:ae671a5fd6f63039b761f5d78475a3f92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d0a2be7c289b8b83e3ee9c8570b37ff"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a5d0a2be7c289b8b83e3ee9c8570b37ff">create</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; image_type, bool mime_type=false)</td></tr>
<tr class="memdesc:a5d0a2be7c289b8b83e3ee9c8570b37ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a pixbuf loader object for a specific image type.  <a href="#a5d0a2be7c289b8b83e3ee9c8570b37ff">More...</a><br /></td></tr>
<tr class="separator:a5d0a2be7c289b8b83e3ee9c8570b37ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a373c249cdae4df4563736169f68915f7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a373c249cdae4df4563736169f68915f7">PixbufLoader</a> ()</td></tr>
<tr class="memdesc:a373c249cdae4df4563736169f68915f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a pixbuf loader object.  <a href="#a373c249cdae4df4563736169f68915f7">More...</a><br /></td></tr>
<tr class="separator:a373c249cdae4df4563736169f68915f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bb93227a052da0b9db5c51372a75351"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a8bb93227a052da0b9db5c51372a75351">PixbufLoader</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; image_type, bool mime_type=false)</td></tr>
<tr class="memdesc:a8bb93227a052da0b9db5c51372a75351"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a pixbuf loader object for a specific image type.  <a href="#a8bb93227a052da0b9db5c51372a75351">More...</a><br /></td></tr>
<tr class="separator:a8bb93227a052da0b9db5c51372a75351"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a291dd42961d273faf6589f7400e30c29"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a291dd42961d273faf6589f7400e30c29">on_area_prepared</a> ()</td></tr>
<tr class="memdesc:a291dd42961d273faf6589f7400e30c29"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGdk_1_1PixbufLoader.html#a511c0929d1e481cd98faf77bd2d579c6" title="This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size...">signal_area_prepared()</a>.  <a href="#a291dd42961d273faf6589f7400e30c29">More...</a><br /></td></tr>
<tr class="separator:a291dd42961d273faf6589f7400e30c29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16df36c7bc304ff980973924133342e7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a16df36c7bc304ff980973924133342e7">on_area_updated</a> (int x, int y, int width, int height)</td></tr>
<tr class="memdesc:a16df36c7bc304ff980973924133342e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGdk_1_1PixbufLoader.html#ad816c3154d7abe8519633aa2727eb5ba" title="This signal is emitted when a significant area of the image being loaded has been updated...">signal_area_updated()</a>.  <a href="#a16df36c7bc304ff980973924133342e7">More...</a><br /></td></tr>
<tr class="separator:a16df36c7bc304ff980973924133342e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade3595deb97cad8b7c569f9a66bfe03f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ade3595deb97cad8b7c569f9a66bfe03f">on_closed</a> ()</td></tr>
<tr class="memdesc:ade3595deb97cad8b7c569f9a66bfe03f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGdk_1_1PixbufLoader.html#a2d72e897acfb0c56eaaf72f046db134f" title="This signal is emitted when close() is called. ">signal_closed()</a>.  <a href="#ade3595deb97cad8b7c569f9a66bfe03f">More...</a><br /></td></tr>
<tr class="separator:ade3595deb97cad8b7c569f9a66bfe03f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a53cb6a2d39a6cf97b80f5950136320"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#a8a53cb6a2d39a6cf97b80f5950136320">on_size_prepared</a> (int width, int height)</td></tr>
<tr class="memdesc:a8a53cb6a2d39a6cf97b80f5950136320"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGdk_1_1PixbufLoader.html#a26f567bc1828c59a8b8a710115e86b2f" title="This signal is emitted when the pixbuf loader has been fed the initial amount of data that is require...">signal_size_prepared()</a>.  <a href="#a8a53cb6a2d39a6cf97b80f5950136320">More...</a><br /></td></tr>
<tr class="separator:a8a53cb6a2d39a6cf97b80f5950136320"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:ab9193291650c2cca2b9367be62217339"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1PixbufLoader.html">Gdk::PixbufLoader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufLoader.html#ab9193291650c2cca2b9367be62217339">wrap</a> (GdkPixbufLoader* object, bool take_copy=false)</td></tr>
<tr class="memdesc:ab9193291650c2cca2b9367be62217339"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#ab9193291650c2cca2b9367be62217339">More...</a><br /></td></tr>
<tr class="separator:ab9193291650c2cca2b9367be62217339"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad84541e46f4e048fa8b8bc7eb2774dc0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gdk::PixbufLoader::~PixbufLoader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a373c249cdae4df4563736169f68915f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::PixbufLoader::PixbufLoader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a pixbuf loader object. </p>

</div>
</div>
<a class="anchor" id="a8bb93227a052da0b9db5c51372a75351"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::PixbufLoader::PixbufLoader </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>image_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>mime_type</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a pixbuf loader object for a specific image type. </p>
<p>Constructs a new pixbuf loader object that always attempts to parse image data as if it were an image of type <em>image_type</em>, instead of identifying the type automatically. Useful if you want an error if the image isn't the expected type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific type.</p>
<p>The image_type can be one of the types returned by <a class="el" href="classGdk_1_1Pixbuf.html#a4469806e3c612bd9dd54641afc7ba1c7" title="Obtains the available information about the image formats supported by GdkPixbuf. ...">Gdk::Pixbuf::get_formats()</a>, or a MIME type.</p>
<p>Common MIME Types are listed here <a href="http://www.iana.org/assignments/media-types/">http://www.iana.org/assignments/media-types/</a> and here: <a href="http://www.freedesktop.org/Software/shared-mime-info">http://www.freedesktop.org/Software/shared-mime-info</a></p>
<p>The list of non-mime-type image formats depends on what image loaders are installed, but typically "png", "jpeg", "gif", "tiff" and "xpm" are among the supported formats. To obtain the full list of supported image formats, call <a class="el" href="classGdk_1_1PixbufFormat.html#a9dcb4ec5ad2b4ad663aadbde1aa42e4e" title="Returns the name of the format. ">PixbufFormat::get_name()</a> on each of the PixbufFormats returned by <a class="el" href="classGdk_1_1Pixbuf.html#a4469806e3c612bd9dd54641afc7ba1c7" title="Obtains the available information about the image formats supported by GdkPixbuf. ...">Gdk::Pixbuf::get_formats()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">image_type</td><td>Name of the image format to be loaded with the image. </td></tr>
    <tr><td class="paramname">mime_type</td><td>If this is true then the image_type is a MIME type. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9512407e3feac5405a6ac6e12ef23bfd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::PixbufLoader::close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Informs a pixbuf loader that no further writes with <a class="el" href="classGdk_1_1PixbufLoader.html#a90ce41040208597527cf2251631aad45" title="Causes the pixbuf loader to parse the next count bytes of an image. ">PixbufLoader::write()</a> will occur, so that it can free its internal loading structures. </p>
<p>Also, tries to parse any data that hasn't yet been parsed; if the remaining data is partial or corrupt, an exception will be thrown. If you're just cancelling a load rather than expecting it to be finished, writing an empty <code>catch()</code> block to ignore errors is reasonable. </p><dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
    <tr><td class="paramname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae671a5fd6f63039b761f5d78475a3f92"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a>&gt; Gdk::PixbufLoader::create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf loader object. </p>
<dl class="section return"><dt>Returns</dt><dd>A newly-created pixbuf loader. </dd></dl>

</div>
</div>
<a class="anchor" id="a5d0a2be7c289b8b83e3ee9c8570b37ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1PixbufLoader.html">PixbufLoader</a>&gt; Gdk::PixbufLoader::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>image_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>mime_type</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a pixbuf loader object for a specific image type. </p>
<p>Constructs a new pixbuf loader object that always attempts to parse image data as if it were an image of type <em>image_type</em>, instead of identifying the type automatically. Useful if you want an error if the image isn't the expected type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific type.</p>
<p>The image_type can be one of the types returned by <a class="el" href="classGdk_1_1Pixbuf.html#a4469806e3c612bd9dd54641afc7ba1c7" title="Obtains the available information about the image formats supported by GdkPixbuf. ...">Gdk::Pixbuf::get_formats()</a>, or a MIME type.</p>
<p>Common MIME Types are listed here <a href="http://www.iana.org/assignments/media-types/">http://www.iana.org/assignments/media-types/</a> and here: <a href="http://www.freedesktop.org/Software/shared-mime-info">http://www.freedesktop.org/Software/shared-mime-info</a></p>
<p>The list of non-mime-type image formats depends on what image loaders are installed, but typically "png", "jpeg", "gif", "tiff" and "xpm" are among the supported formats. To obtain the full list of supported image formats, call <a class="el" href="classGdk_1_1PixbufFormat.html#a9dcb4ec5ad2b4ad663aadbde1aa42e4e" title="Returns the name of the format. ">PixbufFormat::get_name()</a> on each of the PixbufFormats returned by <a class="el" href="classGdk_1_1Pixbuf.html#a4469806e3c612bd9dd54641afc7ba1c7" title="Obtains the available information about the image formats supported by GdkPixbuf. ...">Gdk::Pixbuf::get_formats()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">image_type</td><td>Name of the image format to be loaded with the image. </td></tr>
    <tr><td class="paramname">mime_type</td><td>If this is true then the image_type is a MIME type. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9e69e076ec80ee35b0acaaf6824a3570"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>&gt; Gdk::PixbufLoader::get_animation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the <a class="el" href="classGdk_1_1PixbufAnimation.html" title="The gdk-pixbuf library provides a simple mechanism to load and represent animations. ">Gdk::PixbufAnimation</a> that a pixbuf loader is currently creating. </p>
<p>In general it only makes sense to call this function after the "area-prepared" signal has been emitted by the loader. If the loader doesn't have enough bytes yet (hasn't emitted the "area-prepared" signal) this function will return <code>0</code>.</p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="classGdk_1_1PixbufAnimation.html" title="The gdk-pixbuf library provides a simple mechanism to load and represent animations. ">Gdk::PixbufAnimation</a> that the loader is loading, or <code>0</code> if not enough data has been read to determine the information. </dd></dl>

</div>
</div>
<a class="anchor" id="ab1785b9798362416ffb03ce02dd267d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a> Gdk::PixbufLoader::get_format </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtains the available information about the format of the currently loading image file. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000040">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGdk_1_1PixbufFormat.html">Gdk::PixbufFormat</a> or <code>0</code>. The return value is owned by GdkPixbuf and should not be freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a4aa818981d7690da1fd23a10f5cde21a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gdk::PixbufLoader::get_pixbuf </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> that a pixbuf loader is currently creating. </p>
<p>In general it only makes sense to call this function after the "area-prepared" signal has been emitted by the loader; this means that enough data has been read to know the size of the image that will be allocated. If the loader has not received enough data via <a class="el" href="classGdk_1_1PixbufLoader.html#a90ce41040208597527cf2251631aad45" title="Causes the pixbuf loader to parse the next count bytes of an image. ">write()</a>, then this function returns <code>0</code>. The returned pixbuf will be the same in all future calls to the loader, so simply calling Glib::object_ref() should be sufficient to continue using it. Additionally, if the loader is an animation, it will return the "static image" of the animation (see <a class="el" href="classGdk_1_1PixbufAnimation.html#a4efed6e73f1034242e787b454f485566" title="If an animation is really just a plain image (has only one frame), this function returns that image...">Gdk::PixbufAnimation::get_static_image()</a>).</p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> that the loader is creating, or <code>0</code> if not enough data has been read to determine how to create the image buffer. </dd></dl>

</div>
</div>
<a class="anchor" id="ab992c7f075ced8a0eb1a24b44da2d972"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Gdk::PixbufLoader::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="a68a692fc8f18fac87659cb9ce4219df6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbufLoader* Gdk::PixbufLoader::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

</div>
</div>
<a class="anchor" id="a99541d054d563108b0bfe05c31b870c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GdkPixbufLoader* Gdk::PixbufLoader::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

</div>
</div>
<a class="anchor" id="ab86dda7f88d82cf1374617ad978466c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbufLoader* Gdk::PixbufLoader::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="a291dd42961d273faf6589f7400e30c29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gdk::PixbufLoader::on_area_prepared </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This is a default handler for the signal <a class="el" href="classGdk_1_1PixbufLoader.html#a511c0929d1e481cd98faf77bd2d579c6" title="This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size...">signal_area_prepared()</a>. </p>

</div>
</div>
<a class="anchor" id="a16df36c7bc304ff980973924133342e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gdk::PixbufLoader::on_area_updated </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This is a default handler for the signal <a class="el" href="classGdk_1_1PixbufLoader.html#ad816c3154d7abe8519633aa2727eb5ba" title="This signal is emitted when a significant area of the image being loaded has been updated...">signal_area_updated()</a>. </p>

</div>
</div>
<a class="anchor" id="ade3595deb97cad8b7c569f9a66bfe03f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gdk::PixbufLoader::on_closed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This is a default handler for the signal <a class="el" href="classGdk_1_1PixbufLoader.html#a2d72e897acfb0c56eaaf72f046db134f" title="This signal is emitted when close() is called. ">signal_closed()</a>. </p>

</div>
</div>
<a class="anchor" id="a8a53cb6a2d39a6cf97b80f5950136320"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gdk::PixbufLoader::on_size_prepared </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This is a default handler for the signal <a class="el" href="classGdk_1_1PixbufLoader.html#a26f567bc1828c59a8b8a710115e86b2f" title="This signal is emitted when the pixbuf loader has been fed the initial amount of data that is require...">signal_size_prepared()</a>. </p>

</div>
</div>
<a class="anchor" id="a295cd5abb9e14975a6836f1bb568db58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::PixbufLoader::set_size </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Causes the image to be scaled while it is loaded. </p>
<p>The desired image size can be determined relative to the original size of the image by calling <a class="el" href="classGdk_1_1PixbufLoader.html#a295cd5abb9e14975a6836f1bb568db58" title="Causes the image to be scaled while it is loaded. ">set_size()</a> from a signal handler for the <a class="el" href="classGdk_1_1PixbufLoader.html#a26f567bc1828c59a8b8a710115e86b2f" title="This signal is emitted when the pixbuf loader has been fed the initial amount of data that is require...">signal_size_prepared()</a> signal.</p>
<p>Attempts to set the desired image size are ignored after the emission of the <a class="el" href="classGdk_1_1PixbufLoader.html#a26f567bc1828c59a8b8a710115e86b2f" title="This signal is emitted when the pixbuf loader has been fed the initial amount of data that is require...">signal_size_prepared()</a> signal.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000039">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The desired width of the image being loaded. </td></tr>
    <tr><td class="paramname">height</td><td>The desired height of the image being loaded. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a511c0929d1e481cd98faf77bd2d579c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gdk::PixbufLoader::signal_area_prepared </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size. </p>
<p>After this signal is emitted, applications can call <a class="el" href="classGdk_1_1PixbufLoader.html#a4aa818981d7690da1fd23a10f5cde21a" title="Queries the Gdk::Pixbuf that a pixbuf loader is currently creating. ">get_pixbuf()</a> to fetch the partially-loaded pixbuf.</p>
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_area_prepared()</code></dd></dl>
<p>This signal is emitted when the pixbuf loader has allocated the pixbuf in the desired size. After this signal is emitted, applications can call <a class="el" href="classGdk_1_1PixbufLoader.html#a4aa818981d7690da1fd23a10f5cde21a" title="Queries the Gdk::Pixbuf that a pixbuf loader is currently creating. ">Gdk::PixbufLoader::get_pixbuf()</a> to fetch the partially-loaded pixbuf. </p>

</div>
</div>
<a class="anchor" id="ad816c3154d7abe8519633aa2727eb5ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy4.html">Glib::SignalProxy4</a>&lt; void,int,int,int,int &gt; Gdk::PixbufLoader::signal_area_updated </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This signal is emitted when a significant area of the image being loaded has been updated. </p>
<p>Normally it means that a complete scanline has been read in, but it could be a different area as well. Applications can use this signal to know when to repaint areas of an image that is being loaded.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">X</td><td>offset of upper-left corner of the updated area. </td></tr>
    <tr><td class="paramname">y</td><td>Y offset of upper-left corner of the updated area. </td></tr>
    <tr><td class="paramname">width</td><td>Width of updated area. </td></tr>
    <tr><td class="paramname">height</td><td>Height of updated area.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_area_updated(int x, int y, int width, int height)</code></dd></dl>
<p>This signal is emitted when a significant area of the image being loaded has been updated. Normally it means that a complete scanline has been read in, but it could be a different area as well. Applications can use this signal to know when to repaint areas of an image that is being loaded.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X offset of upper-left corner of the updated area. </td></tr>
    <tr><td class="paramname">y</td><td>Y offset of upper-left corner of the updated area. </td></tr>
    <tr><td class="paramname">width</td><td>Width of updated area. </td></tr>
    <tr><td class="paramname">height</td><td>Height of updated area. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2d72e897acfb0c56eaaf72f046db134f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gdk::PixbufLoader::signal_closed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This signal is emitted when <a class="el" href="classGdk_1_1PixbufLoader.html#a9512407e3feac5405a6ac6e12ef23bfd" title="Informs a pixbuf loader that no further writes with PixbufLoader::write() will occur, so that it can free its internal loading structures. ">close()</a> is called. </p>
<p>It can be used by different parts of an application to receive notification when an image loader is closed by the code that drives it.</p>
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_closed()</code></dd></dl>
<p>This signal is emitted when <a class="el" href="classGdk_1_1PixbufLoader.html#a9512407e3feac5405a6ac6e12ef23bfd" title="Informs a pixbuf loader that no further writes with PixbufLoader::write() will occur, so that it can free its internal loading structures. ">Gdk::PixbufLoader::close()</a> is called. It can be used by different parts of an application to receive notification when an image loader is closed by the code that drives it. </p>

</div>
</div>
<a class="anchor" id="a26f567bc1828c59a8b8a710115e86b2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void,int,int &gt; Gdk::PixbufLoader::signal_size_prepared </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This signal is emitted when the pixbuf loader has been fed the initial amount of data that is required to figure out the size of the image that it will create. </p>
<p>Applications can call <a class="el" href="classGdk_1_1PixbufLoader.html#a295cd5abb9e14975a6836f1bb568db58" title="Causes the image to be scaled while it is loaded. ">set_size()</a> in response to this signal to set the desired size to which the image should be scaled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The original width of the image. </td></tr>
    <tr><td class="paramname">height</td><td>The original height of the image</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_size_prepared(int width, int height)</code></dd></dl>
<p>This signal is emitted when the pixbuf loader has been fed the initial amount of data that is required to figure out the size of the image that it will create. Applications can call <a class="el" href="classGdk_1_1PixbufLoader.html#a295cd5abb9e14975a6836f1bb568db58" title="Causes the image to be scaled while it is loaded. ">Gdk::PixbufLoader::set_size()</a> in response to this signal to set the desired size to which the image should be scaled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The original width of the image. </td></tr>
    <tr><td class="paramname">height</td><td>The original height of the image. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a90ce41040208597527cf2251631aad45"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::PixbufLoader::write </td>
          <td>(</td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Causes the pixbuf loader to parse the next <em>count</em> bytes of an image. </p>
<p>It will return if the data was loaded successfully, and throw an exception if an error occurred. In the latter case, the loader will be closed, and will not accept further writes. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buf</td><td>Pointer to image data. </td></tr>
    <tr><td class="paramname">count</td><td>Length of the <em>buf</em> buffer in bytes. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
    <tr><td class="paramname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="ab9193291650c2cca2b9367be62217339"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1PixbufLoader.html">Gdk::PixbufLoader</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdkPixbufLoader *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</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="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 23 2014 12:59:12 for gtkmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>