<!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::Item 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::Item Class Reference<br> <small> [<a class="el" href="group__Widgets.html">Widgets</a>]</small> </h1>This class should be considered as a virtual base class. <a href="#_details">More...</a> <p> Inheritance diagram for Gtk::Item:<p><center><img src="classGtk_1_1Item__inherit__graph.png" border="0" usemap="#Gtk_1_1Item__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1Item__inherit__map"> <area href="classGtk_1_1ComboDropDownItem.html" shape="rect" coords="69,502,240,521" alt=""> <area href="classGtk_1_1MenuItem.html" shape="rect" coords="264,502,360,521" alt=""> <area href="classGtk_1_1Bin.html" shape="rect" coords="205,363,261,382" alt=""> <area href="classGtk_1_1Container.html" shape="rect" coords="185,294,281,313" alt=""> <area href="classGtk_1_1Widget.html" shape="rect" coords="195,225,272,243" alt=""> <area href="classGtk_1_1Object.html" shape="rect" coords="195,155,272,174" alt=""> <area href="classGlib_1_1Object.html" shape="rect" coords="193,86,273,105" alt=""> <area href="classGlib_1_1ObjectBase.html" shape="rect" coords="179,17,288,35" alt=""> <area href="classGtk_1_1CheckMenuItem.html" shape="rect" coords="7,571,140,590" alt=""> <area href="classGtk_1_1ImageMenuItem.html" shape="rect" coords="164,571,295,590" alt=""> <area href="classGtk_1_1SeparatorMenuItem.html" shape="rect" coords="319,571,473,590" alt=""> <area href="classGtk_1_1TearoffMenuItem.html" shape="rect" coords="497,571,633,590" alt=""> <area href="classGtk_1_1RadioMenuItem.html" shape="rect" coords="9,641,137,659" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1Item-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_1Item.html#a0">~Item</a> ()</td></tr> <tr><td nowrap align=right valign=top>GtkItem* </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#a1">gobj</a> ()</td></tr> <tr><td nowrap align=right valign=top>const GtkItem* </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#a2">gobj</a> () const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#a3">select</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a><void> </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#a4">signal_select</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#a5">deselect</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a><void> </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#a6">signal_deselect</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#a7">toggle</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a><void> </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#a8">signal_toggle</a> ()</td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#b0">on_select</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#b1">on_deselect</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#b2">on_toggle</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#b3">Item</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::Item* </td><td valign=bottom><a class="el" href="classGtk_1_1Item.html#k0">wrap</a> (GtkItem* object, bool take_copy=false)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This class should be considered as a virtual base class. <p> Only the signals and methods it provides are of any interest. You don't want to instantiate any objects of that class. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Gtk::Item::~Item"></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::Item::~Item </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="b3" doxytag="Gtk::Item::Item"></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::Item::Item </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> [protected]</code></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="a5" doxytag="Gtk::Item::deselect"></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::Item::deselect </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> <p> Reimplemented in <a class="el" href="classGtk_1_1MenuItem.html#a12">Gtk::MenuItem</a>. </td> </tr> </table> <a name="a2" doxytag="Gtk::Item::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 GtkItem* Gtk::Item::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_1Bin.html#a2">Gtk::Bin</a>. <p> Reimplemented in <a class="el" href="classGtk_1_1CheckMenuItem.html#a2">Gtk::CheckMenuItem</a>, <a class="el" href="classGtk_1_1ComboDropDownItem.html#a2">Gtk::ComboDropDownItem</a>, <a class="el" href="classGtk_1_1ImageMenuItem.html#a2">Gtk::ImageMenuItem</a>, <a class="el" href="classGtk_1_1MenuItem.html#a2">Gtk::MenuItem</a>, <a class="el" href="classGtk_1_1RadioMenuItem.html#a2">Gtk::RadioMenuItem</a>, <a class="el" href="classGtk_1_1SeparatorMenuItem.html#a2">Gtk::SeparatorMenuItem</a>, and <a class="el" href="classGtk_1_1TearoffMenuItem.html#a2">Gtk::TearoffMenuItem</a>. </td> </tr> </table> <a name="a1" doxytag="Gtk::Item::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"> GtkItem* Gtk::Item::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_1Bin.html#a1">Gtk::Bin</a>. <p> Reimplemented in <a class="el" href="classGtk_1_1CheckMenuItem.html#a1">Gtk::CheckMenuItem</a>, <a class="el" href="classGtk_1_1ComboDropDownItem.html#a1">Gtk::ComboDropDownItem</a>, <a class="el" href="classGtk_1_1ImageMenuItem.html#a1">Gtk::ImageMenuItem</a>, <a class="el" href="classGtk_1_1MenuItem.html#a1">Gtk::MenuItem</a>, <a class="el" href="classGtk_1_1RadioMenuItem.html#a1">Gtk::RadioMenuItem</a>, <a class="el" href="classGtk_1_1SeparatorMenuItem.html#a1">Gtk::SeparatorMenuItem</a>, and <a class="el" href="classGtk_1_1TearoffMenuItem.html#a1">Gtk::TearoffMenuItem</a>. </td> </tr> </table> <a name="b1" doxytag="Gtk::Item::on_deselect"></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 void Gtk::Item::on_deselect </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> [protected, 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="b0" doxytag="Gtk::Item::on_select"></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 void Gtk::Item::on_select </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> [protected, 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="b2" doxytag="Gtk::Item::on_toggle"></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 void Gtk::Item::on_toggle </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> [protected, 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::Item::select"></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::Item::select </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> <p> Reimplemented in <a class="el" href="classGtk_1_1MenuItem.html#a11">Gtk::MenuItem</a>. </td> </tr> </table> <a name="a6" doxytag="Gtk::Item::signal_deselect"></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_1SignalProxy0.html">Glib::SignalProxy0</a><void> Gtk::Item::signal_deselect </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> <dl compact><dt><b>Prototype:</b></dt><dd><code>void deselect()</code> </dd></dl> </td> </tr> </table> <a name="a4" doxytag="Gtk::Item::signal_select"></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_1SignalProxy0.html">Glib::SignalProxy0</a><void> Gtk::Item::signal_select </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> <dl compact><dt><b>Prototype:</b></dt><dd><code>void select()</code> </dd></dl> </td> </tr> </table> <a name="a8" doxytag="Gtk::Item::signal_toggle"></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_1SignalProxy0.html">Glib::SignalProxy0</a><void> Gtk::Item::signal_toggle </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> <dl compact><dt><b>Prototype:</b></dt><dd><code>void toggle()</code> </dd></dl> </td> </tr> </table> <a name="a7" doxytag="Gtk::Item::toggle"></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::Item::toggle </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> <hr><h2>Friends And Related Function Documentation</h2> <a name="k0" doxytag="Gtk::Item::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::Item* wrap </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">GtkItem* </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_2item_8h.html">gtk/gtkmm/item.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>