<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Gtk::Image class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- Generated by Doxygen 1.3-rc1 --> <h1>Gtk::Image Class Reference<br> <small> [<a class="el" href="group__Widgets.html">Widgets</a>]</small> </h1>A widget displaying an image. <a href="#_details">More...</a> <p> Inheritance diagram for Gtk::Image:<p><center><img src="classGtk_1_1Image__inherit__graph.png" border="0" usemap="#Gtk_1_1Image__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1Image__inherit__map"> <area href="classGtk_1_1Misc.html" shape="rect" coords="29,294,93,313" alt=""> <area href="classGtk_1_1Widget.html" shape="rect" coords="23,225,100,244" alt=""> <area href="classGtk_1_1Object.html" shape="rect" coords="23,156,100,174" alt=""> <area href="classGlib_1_1Object.html" shape="rect" coords="21,86,101,105" alt=""> <area href="classGlib_1_1ObjectBase.html" shape="rect" coords="7,17,116,36" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1Image-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a0">~Image</a> ()</td></tr> <tr><td nowrap align=right valign=top>GtkImage* </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a1">gobj</a> ()</td></tr> <tr><td nowrap align=right valign=top>const GtkImage* </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a2">gobj</a> () const</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a3">Image</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a4">Image</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& pixmap, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& mask)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a5">Image</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><Gdk::Image>& image, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& mask)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a6">Image</a> (const std::string& file)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a7">Image</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>>& pixbuf)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a8">Image</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> size)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a9">Image</a> (<a class="el" href="classGtk_1_1IconSet.html">IconSet</a>& icon_set, <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> size)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a10">Image</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>>& animation)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a11">set</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& pixmap, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& mask)</td></tr> <tr><td> </td><td><font size=-1><em>See new_from_pixmap() for details.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a12">set</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Image.html">Gdk::Image</a>>& image, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& mask)</td></tr> <tr><td> </td><td><font size=-1><em>See new_from_image() for details.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a13">set</a> (const std::string& filename)</td></tr> <tr><td> </td><td><font size=-1><em>See new_from_file() for details.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a14">set</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>>& pixbuf)</td></tr> <tr><td> </td><td><font size=-1><em>See new_from_pixbuf() for details.</em> <a href="#a14"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a15">set</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> size)</td></tr> <tr><td> </td><td><font size=-1><em>See new_from_stock() for details.</em> <a href="#a15"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a16">set</a> (<a class="el" href="classGtk_1_1IconSet.html">IconSet</a>& icon_set, <a class="el" href="classGtk_1_1IconSize.html">IconSize</a> size)</td></tr> <tr><td> </td><td><font size=-1><em>See new_from_icon_set() for details.</em> <a href="#a16"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a17">set</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>>& animation)</td></tr> <tr><td> </td><td><font size=-1><em>Causes the Gtk::Image to display the given animation (or display nothing, if you set the animation to <code>0</code>).</em> <a href="#a17"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a18">clear</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group__gdkmmEnums.html#a85">ImageType</a> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a19">get_storage_type</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Gets the type of representation being used by the Gtk::Image to store image data.</em> <a href="#a19"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a20">get_pixmap</a> (<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& pixmap, <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& mask) const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a21">get_image</a> (<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Image.html">Gdk::Image</a>>& gdk_image, <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& mask) const</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a22">get_pixbuf</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Gets the <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> being displayed by the Gtk::Image.</em> <a href="#a22"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a23">get_stock</a> (<a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, <a class="el" href="classGtk_1_1IconSize.html">IconSize</a>& size) const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a24">get_icon_set</a> (<a class="el" href="classGtk_1_1IconSet.html">IconSet</a>& icon_set, <a class="el" href="classGtk_1_1IconSize.html">IconSize</a>& size) const</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a25">get_animation</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Gets the <a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a> being displayed by the Gtk::Image.</em> <a href="#a25"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br> <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > > </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a26">property_pixbuf</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br> <a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a> > > </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a27">property_pixmap</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br> <a class="el" href="classGdk_1_1Image.html">Gdk::Image</a> > > </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a28">property_image</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br> <a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a> > > </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a29">property_mask</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy__WriteOnly.html">Glib::PropertyProxy_WriteOnly</a><<br> <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> > </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a30">property_file</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a31">property_stock</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a32">property_icon_set</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a33">property_icon_size</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br> <a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a> > > </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a34">property_pixbuf_animation</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <a class="el" href="group__gdkmmEnums.html#a85">ImageType</a> > </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#a35">property_storage_type</a> ()</td></tr> <tr><td colspan=2><br><h2>Related Functions</h2></td></tr> <tr><td colspan=2>(Note that these are not member functions.)<br><br></td></tr> <tr><td nowrap align=right valign=top>Gtk::Image* </td><td valign=bottom><a class="el" href="classGtk_1_1Image.html#k0">wrap</a> (GtkImage* object, bool take_copy=false)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A widget displaying an image. <p> The Gtk::Image widget displays an image. Various kinds of object can be displayed as an image; most typically, you would load a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> ("pixel buffer") from a file, and then display that. <p> Gtk::Image is a subclass of <a class="el" href="classGtk_1_1Misc.html">Gtk::Misc</a>, which implies that you can align it (center, left, right) and add padding to it, using <a class="el" href="classGtk_1_1Misc.html">Gtk::Misc</a> methods. <p> Gtk::Image is a "no window" widget (has no <a class="el" href="classGdk_1_1Window.html">Gdk::Window</a> of its own), so by default does not receive events. If you want to receive events on the image, such as button clicks, place the image inside a <a class="el" href="classGtk_1_1EventBox.html">Gtk::EventBox</a>, then connect to the event signals on the event box. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Gtk::Image::~Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual Gtk::Image::~Image </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a3" doxytag="Gtk::Image::Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image::Image </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a4" doxytag="Gtk::Image::Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image::Image </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& </td> <td class="mdname" nowrap> <em>pixmap</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& </td> <td class="mdname" nowrap> <em>mask</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [explicit]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a5" doxytag="Gtk::Image::Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image::Image </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><Gdk::Image>& </td> <td class="mdname" nowrap> <em>image</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& </td> <td class="mdname" nowrap> <em>mask</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [explicit]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a6" doxytag="Gtk::Image::Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image::Image </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const std::string& </td> <td class="mdname1" valign="top" nowrap> <em>file</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [explicit]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a7" doxytag="Gtk::Image::Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image::Image </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>>& </td> <td class="mdname1" valign="top" nowrap> <em>pixbuf</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [explicit]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a8" doxytag="Gtk::Image::Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image::Image </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& </td> <td class="mdname" nowrap> <em>stock_id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classGtk_1_1IconSize.html">IconSize</a> </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a9" doxytag="Gtk::Image::Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image::Image </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1IconSet.html">IconSet</a>& </td> <td class="mdname" nowrap> <em>icon_set</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classGtk_1_1IconSize.html">IconSize</a> </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a10" doxytag="Gtk::Image::Image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image::Image </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>>& </td> <td class="mdname1" valign="top" nowrap> <em>animation</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a18" doxytag="Gtk::Image::clear"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::clear </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a25" doxytag="Gtk::Image::get_animation"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>> Gtk::Image::get_animation </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the <a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a> being displayed by the Gtk::Image. <p> The storage type of the image must be <a class="el" href="group__gtkmmEnums.html#a96a192">Gtk::IMAGE_EMPTY</a> or <a class="el" href="group__gtkmmEnums.html#a96a198">Gtk::IMAGE_ANIMATION</a> (see get_storage_type()). The caller of this function does not own a reference to the returned animation. <dl compact><dt><b>Returns:</b></dt><dd>The displayed animation, or <code>0</code> if the image is empty. </dd></dl> </td> </tr> </table> <a name="a24" doxytag="Gtk::Image::get_icon_set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::get_icon_set </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1IconSet.html">IconSet</a>& </td> <td class="mdname" nowrap> <em>icon_set</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classGtk_1_1IconSize.html">IconSize</a>& </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a21" doxytag="Gtk::Image::get_image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::get_image </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Image.html">Gdk::Image</a>>& </td> <td class="mdname" nowrap> <em>gdk_image</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& </td> <td class="mdname" nowrap> <em>mask</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a22" doxytag="Gtk::Image::get_pixbuf"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> Gtk::Image::get_pixbuf </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> being displayed by the Gtk::Image. <p> The storage type of the image must be <a class="el" href="group__gtkmmEnums.html#a96a192">Gtk::IMAGE_EMPTY</a> or <a class="el" href="group__gtkmmEnums.html#a96a195">Gtk::IMAGE_PIXBUF</a> (see get_storage_type()). The caller of this function does not own a reference to the returned pixbuf. <dl compact><dt><b>Returns:</b></dt><dd>The displayed pixbuf, or <code>0</code> if the image is empty. </dd></dl> </td> </tr> </table> <a name="a20" doxytag="Gtk::Image::get_pixmap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::get_pixmap </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& </td> <td class="mdname" nowrap> <em>pixmap</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& </td> <td class="mdname" nowrap> <em>mask</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a23" doxytag="Gtk::Image::get_stock"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::get_stock </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& </td> <td class="mdname" nowrap> <em>stock_id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classGtk_1_1IconSize.html">IconSize</a>& </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a19" doxytag="Gtk::Image::get_storage_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group__gdkmmEnums.html#a85">ImageType</a> Gtk::Image::get_storage_type </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the type of representation being used by the Gtk::Image to store image data. <p> If the Gtk::Image has no image data, the return value will be <a class="el" href="group__gtkmmEnums.html#a96a192">Gtk::IMAGE_EMPTY</a>. <dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="classGtk_1_1Image.html">Image</a> representation being used. </dd></dl> </td> </tr> </table> <a name="a2" doxytag="Gtk::Image::gobj"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const GtkImage* Gtk::Image::gobj </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGtk_1_1Misc.html#a2">Gtk::Misc</a>. </td> </tr> </table> <a name="a1" doxytag="Gtk::Image::gobj"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GtkImage* Gtk::Image::gobj </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGtk_1_1Misc.html#a1">Gtk::Misc</a>. </td> </tr> </table> <a name="a30" doxytag="Gtk::Image::property_file"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy__WriteOnly.html">Glib::PropertyProxy_WriteOnly</a><<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::Image::property_file </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a32" doxytag="Gtk::Image::property_icon_set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>> Gtk::Image::property_icon_set </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a33" doxytag="Gtk::Image::property_icon_size"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::Image::property_icon_size </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a28" doxytag="Gtk::Image::property_image"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Image.html">Gdk::Image</a>>> Gtk::Image::property_image </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a29" doxytag="Gtk::Image::property_mask"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>> Gtk::Image::property_mask </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a26" doxytag="Gtk::Image::property_pixbuf"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>>> Gtk::Image::property_pixbuf </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a34" doxytag="Gtk::Image::property_pixbuf_animation"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>>> Gtk::Image::property_pixbuf_animation </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a27" doxytag="Gtk::Image::property_pixmap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>> Gtk::Image::property_pixmap </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a31" doxytag="Gtk::Image::property_stock"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::Image::property_stock </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a35" doxytag="Gtk::Image::property_storage_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="group__gdkmmEnums.html#a85">ImageType</a>> Gtk::Image::property_storage_type </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a17" doxytag="Gtk::Image::set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::set </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>>& </td> <td class="mdname1" valign="top" nowrap> <em>animation</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Causes the Gtk::Image to display the given animation (or display nothing, if you set the animation to <code>0</code>). <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>animation</em> </td><td>The <a class="el" href="classGdk_1_1PixbufAnimation.html">Gdk::PixbufAnimation</a>. </td></tr> </table> </dl> </td> </tr> </table> <a name="a16" doxytag="Gtk::Image::set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::set </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1IconSet.html">IconSet</a>& </td> <td class="mdname" nowrap> <em>icon_set</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classGtk_1_1IconSize.html">IconSize</a> </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See new_from_icon_set() for details. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>icon_set</em> </td><td>A <a class="el" href="classGtk_1_1IconSet.html">Gtk::IconSet</a>. </td></tr> <tr><td valign=top><em>size</em> </td><td>A stock icon size. </td></tr> </table> </dl> </td> </tr> </table> <a name="a15" doxytag="Gtk::Image::set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::set </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& </td> <td class="mdname" nowrap> <em>stock_id</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classGtk_1_1IconSize.html">IconSize</a> </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See new_from_stock() for details. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>stock_id</em> </td><td>A stock icon name. </td></tr> <tr><td valign=top><em>size</em> </td><td>A stock icon size. </td></tr> </table> </dl> </td> </tr> </table> <a name="a14" doxytag="Gtk::Image::set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::set </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>>& </td> <td class="mdname1" valign="top" nowrap> <em>pixbuf</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See new_from_pixbuf() for details. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>pixbuf</em> </td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> or <code>0</code>. </td></tr> </table> </dl> </td> </tr> </table> <a name="a13" doxytag="Gtk::Image::set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::set </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const std::string& </td> <td class="mdname1" valign="top" nowrap> <em>filename</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See new_from_file() for details. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>filename</em> </td><td>A filename or <code>0</code>. </td></tr> </table> </dl> </td> </tr> </table> <a name="a12" doxytag="Gtk::Image::set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::set </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Image.html">Gdk::Image</a>>& </td> <td class="mdname" nowrap> <em>image</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& </td> <td class="mdname" nowrap> <em>mask</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See new_from_image() for details. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>gdk_image</em> </td><td>A <a class="el" href="classGdk_1_1Image.html">Gdk::Image</a> or <code>0</code>. </td></tr> <tr><td valign=top><em>mask</em> </td><td>A <a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a> or <code>0</code>. </td></tr> </table> </dl> </td> </tr> </table> <a name="a11" doxytag="Gtk::Image::set"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gtk::Image::set </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>>& </td> <td class="mdname" nowrap> <em>pixmap</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a>>& </td> <td class="mdname" nowrap> <em>mask</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See new_from_pixmap() for details. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>pixmap</em> </td><td>A <a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a> or <code>0</code>. </td></tr> <tr><td valign=top><em>mask</em> </td><td>A <a class="el" href="classGdk_1_1Bitmap.html">Gdk::Bitmap</a> or <code>0</code>. </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a name="k0" doxytag="Gtk::Image::wrap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Image* wrap </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">GtkImage* </td> <td class="mdname" nowrap> <em>object</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>take_copy</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [related]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gtk_2gtkmm_2image_8h.html">gtk/gtkmm/image.h</a></ul> <hr><address><small> Generated for gtkmm by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.3-rc1 © 1997-2001</small></address> </body> </html>