<!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>glibmm 2.4: Gio::ThemedIcon 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="../../../../gtkmm-2.4/docs/index.html">Main Page</a> <a href="../../../../gtkmm-2.4/docs/reference/html/group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html">glibmm Namespaces</a> <a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="nav"> <a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1ThemedIcon.html">ThemedIcon</a></div> <h1>Gio::ThemedIcon Class Reference</h1><!-- doxytag: class="Gio::ThemedIcon" --><!-- doxytag: inherits="Glib::Object,Gio::Icon" --><a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> theming support <a class="el" href="classGio_1_1ThemedIcon.html" title="Icon theming support ThemedIcon is an implementation of Gio::Icon that supports icon...">ThemedIcon</a> is an implementation of <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Gio::Icon</a> that supports icon themes. <a href="#_details">More...</a> <p> <div class="dynheader"> Inheritance diagram for Gio::ThemedIcon:</div> <div class="dynsection"> <p><center><img src="classGio_1_1ThemedIcon__inherit__graph.png" border="0" usemap="#Gio_1_1ThemedIcon__inherit__map" alt="Inheritance graph"></center> <map name="Gio_1_1ThemedIcon__inherit__map"> <area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,239,99,265"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="40,84,165,111"><area shape="rect" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="101,161,213,188"><area shape="rect" href="classsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="47,7,159,33"><area shape="rect" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons." alt="" coords="123,239,200,265"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classGio_1_1ThemedIcon-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 Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ThemedIcon.html#c5c41faafeffac479079e871edc4a66f">~ThemedIcon</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GThemedIcon* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ThemedIcon.html#a179d9788f6a17df73a258c6f89049fd">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a179d9788f6a17df73a258c6f89049fd"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GThemedIcon* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ThemedIcon.html#c962dc5a62c1d2b19611a497d92671ba">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#c962dc5a62c1d2b19611a497d92671ba"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GThemedIcon* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ThemedIcon.html#077eea103e0f5713697f55cb66243997">gobj_copy</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#077eea103e0f5713697f55cb66243997"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ThemedIcon.html#15fb8158d3eede3d3aa4050fbdcbe124">append_name</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& iconname)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Append a name to the list of icons from within <em>icon</em>. <a href="#15fb8158d3eede3d3aa4050fbdcbe124"></a><br></td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1ThemedIcon.html">ThemedIcon</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ThemedIcon.html#843b98f320f1aa6316d55f266fbf8219">create</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& iconname, bool use_default_callbacks=false)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ThemedIcon.html#c378bb89f60335fe0c24e10ce96cba12">ThemedIcon</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a>& iconname, bool use_default_callbacks=false)</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 class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br> <<a class="el" href="classGio_1_1ThemedIcon.html">Gio::ThemedIcon</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1ThemedIcon.html#6e1861d53d63b929cd84e012e704c396">wrap</a> (GThemedIcon* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#6e1861d53d63b929cd84e012e704c396"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> theming support <a class="el" href="classGio_1_1ThemedIcon.html" title="Icon theming support ThemedIcon is an implementation of Gio::Icon that supports icon...">ThemedIcon</a> is an implementation of <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Gio::Icon</a> that supports icon themes. <p> <a class="el" href="classGio_1_1ThemedIcon.html" title="Icon theming support ThemedIcon is an implementation of Gio::Icon that supports icon...">ThemedIcon</a> contains a list of all of the icons present in an icon theme, so that icons can be looked up quickly. <a class="el" href="classGio_1_1ThemedIcon.html" title="Icon theming support ThemedIcon is an implementation of Gio::Icon that supports icon...">ThemedIcon</a> does not provide actual pixmaps for icons, just the icon names. Ideally something like Gtk::IconTheme::choose_icon() should be used to resolve the list of names so that fallback icons work nicely with themes that inherit other themes.<p> <dl compact><dt><b><a class="el" href="newin2p16s.html#_newin2p16s000043">Since glibmm 2.16:</a></b></dt><dd></dd></dl> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="c5c41faafeffac479079e871edc4a66f"></a><!-- doxytag: member="Gio::ThemedIcon::~ThemedIcon" ref="c5c41faafeffac479079e871edc4a66f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gio::ThemedIcon::~ThemedIcon </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="c378bb89f60335fe0c24e10ce96cba12"></a><!-- doxytag: member="Gio::ThemedIcon::ThemedIcon" ref="c378bb89f60335fe0c24e10ce96cba12" args="(const std::string &iconname, bool use_default_callbacks=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gio::ThemedIcon::ThemedIcon </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>iconname</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>use_default_callbacks</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [explicit, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="a179d9788f6a17df73a258c6f89049fd"></a><!-- doxytag: member="Gio::ThemedIcon::gobj" ref="a179d9788f6a17df73a258c6f89049fd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GThemedIcon* Gio::ThemedIcon::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GObject. <p> <p>Reimplemented from <a class="el" href="classGio_1_1Icon.html#02ef784d9a07a205ce1d7daac39d2054">Gio::Icon</a>.</p> </div> </div><p> <a class="anchor" name="c962dc5a62c1d2b19611a497d92671ba"></a><!-- doxytag: member="Gio::ThemedIcon::gobj" ref="c962dc5a62c1d2b19611a497d92671ba" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GThemedIcon* Gio::ThemedIcon::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GObject. <p> <p>Reimplemented from <a class="el" href="classGio_1_1Icon.html#94b7e4b63ce6c1c0f05673dd8b4adf94">Gio::Icon</a>.</p> </div> </div><p> <a class="anchor" name="077eea103e0f5713697f55cb66243997"></a><!-- doxytag: member="Gio::ThemedIcon::gobj_copy" ref="077eea103e0f5713697f55cb66243997" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GThemedIcon* Gio::ThemedIcon::gobj_copy </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></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><p> <a class="anchor" name="843b98f320f1aa6316d55f266fbf8219"></a><!-- doxytag: member="Gio::ThemedIcon::create" ref="843b98f320f1aa6316d55f266fbf8219" args="(const std::string &iconname, bool use_default_callbacks=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1ThemedIcon.html">ThemedIcon</a>> Gio::ThemedIcon::create </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>iconname</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>use_default_callbacks</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="15fb8158d3eede3d3aa4050fbdcbe124"></a><!-- doxytag: member="Gio::ThemedIcon::append_name" ref="15fb8158d3eede3d3aa4050fbdcbe124" args="(const std::string &iconname)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::ThemedIcon::append_name </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html">std::string</a> & </td> <td class="paramname"> <em>iconname</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Append a name to the list of icons from within <em>icon</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>iconname</em> </td><td>Name of icon to append to list of icons from within <em>icon</em>. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="6e1861d53d63b929cd84e012e704c396"></a><!-- doxytag: member="Gio::ThemedIcon::wrap" ref="6e1861d53d63b929cd84e012e704c396" args="(GThemedIcon *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1ThemedIcon.html">Gio::ThemedIcon</a>> wrap </td> <td>(</td> <td class="paramtype">GThemedIcon * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="themedicon_8h.html">themedicon.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.3 © 1997-2001</small></address> </body> </html>