<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>glibmm: Gio::EmblemedIcon Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1EmblemedIcon.html">EmblemedIcon</a> </div> </div> <div class="contents"> <h1>Gio::EmblemedIcon Class Reference</h1><!-- doxytag: class="Gio::EmblemedIcon" --><!-- doxytag: inherits="Glib::Object,Gio::Icon" --> <p>Icons with Emblems. <a href="#_details">More...</a></p> <p>Inherits <a class="el" href="classGlib_1_1Object.html">Glib::Object</a>, and <a class="el" href="classGio_1_1Icon.html">Gio::Icon</a>.</p> <div class="dynheader"> Collaboration diagram for Gio::EmblemedIcon:</div> <div class="dynsection"> <div class="center"><img src="classGio_1_1EmblemedIcon__coll__graph.png" border="0" usemap="#Gio_1_1EmblemedIcon_coll__map" alt="Collaboration graph"/></div> <map name="Gio_1_1EmblemedIcon_coll__map" id="Gio_1_1EmblemedIcon_coll__map"> <area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,237,96,267"/><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="39,83,159,112"/><area shape="rect" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="100,160,204,189"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="45,5,152,35"/><area shape="rect" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons." alt="" coords="120,237,195,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGio_1_1EmblemedIcon-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#a52372e1aef73698e9ed8dfe9623ef8e7">~EmblemedIcon</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GEmblemedIcon* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#ad19779f46ff62261df8b924f2e218f00">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ad19779f46ff62261df8b924f2e218f00"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GEmblemedIcon* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#a2b4a572414232927365ade6bf7bd1d5d">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2b4a572414232927365ade6bf7bd1d5d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GEmblemedIcon* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#afa5683d27b359053a929ca46d61ff512">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="#afa5683d27b359053a929ca46d61ff512"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Icon.html">Icon</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#aaa34ad2bbd13edbed76aaf908a04c630">get_icon</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the main icon for <em>emblemed</em>. <a href="#aaa34ad2bbd13edbed76aaf908a04c630"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classGio_1_1Icon.html">Icon</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#afd4b52af91512a77936c0c1e13222436">get_icon</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the main icon for <em>emblemed</em>. <a href="#afd4b52af91512a77936c0c1e13222436"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a>< <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < <a class="el" href="classGio_1_1Emblem.html">Emblem</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#ad1795232c2d5abd7edec6a56072d94e9">get_emblems</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the list of emblems for the <em>icon</em>. <a href="#ad1795232c2d5abd7edec6a56072d94e9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#acf332055cf535914f444bc037ba7d324">add_emblem</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Emblem.html">Emblem</a> >& emblem)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds <em>emblem</em> to the List of <a class="el" href="classGio_1_1Emblem.html" title="An object for emblems.">Emblem</a> s. <a href="#acf332055cf535914f444bc037ba7d324"></a><br/></td></tr> <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1EmblemedIcon.html">EmblemedIcon</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#ac4e4b5c233a669ac82db3852b5d9a1a6">create</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Icon.html">Icon</a> >& icon, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Emblem.html">Emblem</a> >& emblem)</td></tr> <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#a2d790c876f3033983c5989a64f5ed83a">EmblemedIcon</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Icon.html">Icon</a> >& icon, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Emblem.html">Emblem</a> >& emblem)</td></tr> <tr><td colspan="2"><h2>Related Functions</h2></td></tr> <tr><td colspan="2"><p>(Note that these are not member functions.) </p> <br/><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1EmblemedIcon.html">Gio::EmblemedIcon</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1EmblemedIcon.html#a1f2d2a7c6ad0125c6a9b4b41c2b7766a">wrap</a> (GEmblemedIcon* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a1f2d2a7c6ad0125c6a9b4b41c2b7766a"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Icons with Emblems. </p> <p><a class="el" href="classGio_1_1EmblemedIcon.html" title="Icons with Emblems.">EmblemedIcon</a> is an implementation of <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via <a class="el" href="classGio_1_1EmblemedIcon.html#acf332055cf535914f444bc037ba7d324" title="Adds emblem to the List of Emblem s.">add_emblem()</a>.</p> <p>Note that <a class="el" href="classGio_1_1EmblemedIcon.html" title="Icons with Emblems.">EmblemedIcon</a> allows no control over the position of the emblems. See also <a class="el" href="classGio_1_1Emblem.html" title="An object for emblems.">Emblem</a> for more information.</p> <dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000009">Since glibmm 2.20:</a></b></dt><dd></dd></dl> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a52372e1aef73698e9ed8dfe9623ef8e7"></a><!-- doxytag: member="Gio::EmblemedIcon::~EmblemedIcon" ref="a52372e1aef73698e9ed8dfe9623ef8e7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gio::EmblemedIcon::~EmblemedIcon </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a2d790c876f3033983c5989a64f5ed83a"></a><!-- doxytag: member="Gio::EmblemedIcon::EmblemedIcon" ref="a2d790c876f3033983c5989a64f5ed83a" args="(const Glib::RefPtr< Icon > &icon, const Glib::RefPtr< Emblem > &emblem)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gio::EmblemedIcon::EmblemedIcon </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Icon.html">Icon</a> >& </td> <td class="paramname"> <em>icon</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Emblem.html">Emblem</a> >& </td> <td class="paramname"> <em>emblem</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [explicit, protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="acf332055cf535914f444bc037ba7d324"></a><!-- doxytag: member="Gio::EmblemedIcon::add_emblem" ref="acf332055cf535914f444bc037ba7d324" args="(const Glib::RefPtr< Emblem > &emblem)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gio::EmblemedIcon::add_emblem </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Emblem.html">Emblem</a> >& </td> <td class="paramname"> <em>emblem</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds <em>emblem</em> to the List of <a class="el" href="classGio_1_1Emblem.html" title="An object for emblems.">Emblem</a> s. </p> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000012">Since glibmm 2.18:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>emblem</em> </td><td>A <a class="el" href="classGio_1_1Emblem.html" title="An object for emblems.">Emblem</a>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ac4e4b5c233a669ac82db3852b5d9a1a6"></a><!-- doxytag: member="Gio::EmblemedIcon::create" ref="ac4e4b5c233a669ac82db3852b5d9a1a6" args="(const Glib::RefPtr< Icon > &icon, const Glib::RefPtr< Emblem > &emblem)" --> <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_1EmblemedIcon.html">EmblemedIcon</a>> Gio::EmblemedIcon::create </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Icon.html">Icon</a> >& </td> <td class="paramname"> <em>icon</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Emblem.html">Emblem</a> >& </td> <td class="paramname"> <em>emblem</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad1795232c2d5abd7edec6a56072d94e9"></a><!-- doxytag: member="Gio::EmblemedIcon::get_emblems" ref="ad1795232c2d5abd7edec6a56072d94e9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlib_1_1ListHandle.html">Glib::ListHandle</a><<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Emblem.html">Emblem</a>> > Gio::EmblemedIcon::get_emblems </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the list of emblems for the <em>icon</em>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A List of <a class="el" href="classGio_1_1Emblem.html" title="An object for emblems.">Emblem</a> s that is owned by <em>emblemed</em> </dd></dl> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000011">Since glibmm 2.18:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="afd4b52af91512a77936c0c1e13222436"></a><!-- doxytag: member="Gio::EmblemedIcon::get_icon" ref="afd4b52af91512a77936c0c1e13222436" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGio_1_1Icon.html">Icon</a>> Gio::EmblemedIcon::get_icon </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the main icon for <em>emblemed</em>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> that is owned by <em>emblemed</em> </dd></dl> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000010">Since glibmm 2.18:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="aaa34ad2bbd13edbed76aaf908a04c630"></a><!-- doxytag: member="Gio::EmblemedIcon::get_icon" ref="aaa34ad2bbd13edbed76aaf908a04c630" args="()" --> <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_1Icon.html">Icon</a>> Gio::EmblemedIcon::get_icon </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the main icon for <em>emblemed</em>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons.">Icon</a> that is owned by <em>emblemed</em> </dd></dl> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000009">Since glibmm 2.18:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a2b4a572414232927365ade6bf7bd1d5d"></a><!-- doxytag: member="Gio::EmblemedIcon::gobj" ref="a2b4a572414232927365ade6bf7bd1d5d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GEmblemedIcon* Gio::EmblemedIcon::gobj </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="el" href="classGio_1_1Icon.html#a94b7e4b63ce6c1c0f05673dd8b4adf94">Gio::Icon</a>.</p> </div> </div> <a class="anchor" id="ad19779f46ff62261df8b924f2e218f00"></a><!-- doxytag: member="Gio::EmblemedIcon::gobj" ref="ad19779f46ff62261df8b924f2e218f00" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GEmblemedIcon* Gio::EmblemedIcon::gobj </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="el" href="classGio_1_1Icon.html#a02ef784d9a07a205ce1d7daac39d2054">Gio::Icon</a>.</p> </div> </div> <a class="anchor" id="afa5683d27b359053a929ca46d61ff512"></a><!-- doxytag: member="Gio::EmblemedIcon::gobj_copy" ref="afa5683d27b359053a929ca46d61ff512" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GEmblemedIcon* Gio::EmblemedIcon::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> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a1f2d2a7c6ad0125c6a9b4b41c2b7766a"></a><!-- doxytag: member="Gio::EmblemedIcon::wrap" ref="a1f2d2a7c6ad0125c6a9b4b41c2b7766a" args="(GEmblemedIcon *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_1EmblemedIcon.html">Gio::EmblemedIcon</a> > wrap </td> <td>(</td> <td class="paramtype">GEmblemedIcon * </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><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><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> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>giomm/emblemedicon.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 11:07:22 2009 for glibmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>