Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 455

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::Menu 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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Menu.html">Menu</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Menu Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>,&#160;<a class="el" href="group__Menus.html">Menu classes</a>]</small>
</h1><!-- doxytag: class="Gtk::Menu" --><!-- doxytag: inherits="Gtk::MenuShell" -->
<p>A drop-down menu consisting of <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">Gtk::MenuItem</a> objects which can be navigated and activated by the user to perform application functions. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1MenuShell.html">Gtk::MenuShell</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1RecentChooserMenu.html">Gtk::RecentChooserMenu</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Menu:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Menu__coll__graph.png" border="0" usemap="#Gtk_1_1Menu_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Menu_coll__map" id="Gtk_1_1Menu_coll__map">
<area shape="rect" href="classGtk_1_1MenuShell.html" title="The abstract base class for Gtk::Menu and Gtk::MenuBar." alt="" coords="2627,84,2739,113"/><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="873,37,977,67"/><area shape="rect" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="1840,72,1909,101"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="661,37,752,67"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such..." alt="" coords="505,5,593,35"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="340,5,431,35"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="163,31,283,60"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="333,59,437,88"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="5,31,112,60"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="489,59,609,88"/><area shape="rect" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled..." alt="" coords="2345,84,2441,113"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\&lt; AccelGroup \&gt;" alt="" coords="1784,125,1965,155"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\&lt; T_CppObject \&gt;" alt="" coords="831,125,1020,155"/><area shape="rect" href="classGtk_1_1Menu__Helpers_1_1MenuList.html" title="Gtk::Menu_Helpers::MenuList" alt="" coords="2296,160,2491,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1HelperList.html" title="Glib::HelperList\&lt; MenuItem, const Element, Glib::List_Cpp_Iterator\&lt; GtkMenuItem, MenuItem \&gt; \&gt;" alt="" coords="1579,179,2171,208"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1HelperList.html" title="Glib::HelperList\&lt; class, class, class \&gt;" alt="" coords="804,179,1047,208"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Menu-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; void, int <br class="typebreak"/>
&amp;, int&amp;, bool&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ac8978c6bcd462454c19e70a7f8805ea6">SlotPositionCalc</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, void on_popup_menu_position(int&amp; x, int&amp; y, bool&amp; push_in);. <a href="#ac8978c6bcd462454c19e70a7f8805ea6"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a813c1f65cc355c32c9eb59227e3fe01e">~Menu</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkMenu*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a08434c6b137ce53eb939b09d577aa9bb">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a08434c6b137ce53eb939b09d577aa9bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkMenu*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a943271a828e8bfa829c6bf4ed0060203">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a943271a828e8bfa829c6bf4ed0060203"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#afd6add4a7ef105f29efa125bb5ef40cf">Menu</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a6501cd09e10a13f18249202571f02a78">popup</a> (<a class="el" href="classGtk_1_1MenuShell.html">MenuShell</a>&amp; parent_menu_shell, <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp; parent_menu_item, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotPositionCalc</a>&amp; slot, guint button, guint32 activate_time)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a4c66c33c8fdfe3e837b1fcf20f302cf7">popup</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotPositionCalc</a>&amp; position_calc_slot, guint button, guint32 activate_time)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays a menu and makes it available for selection. <a href="#a4c66c33c8fdfe3e837b1fcf20f302cf7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#adfcc6dd5dbc296bf8cdda4556b572784">popup</a> (guint button, guint32 activate_time)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays a menu and makes it available for selection. <a href="#adfcc6dd5dbc296bf8cdda4556b572784"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a84f2f1e74ba1a6316077a4dcee13ed87">reposition</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a976bd97bc3879ed371cf9ef178a40543">popdown</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ab7ea3340aadb2c3afcedcd65ac6d3398">get_active</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#aacbd92ec63b1b8d98d90429f0dcdfa2b">get_active</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a392d8010777bde0686aa904b73db265a">set_active</a> (guint index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a82f9e1d2e501b7cacec74bb9e3c7e4ce">set_accel_group</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt;&amp; accel_group)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a7202ceac91d65cbf09def78c4f7e6628">unset_accel_group</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a7bdd6c75710d48e4655bb28a4fb822cd">get_accel_group</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#aa9620d30b2f77260e826f785591624a2">get_accel_group</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#aa67f1f54bd72aa580e87150c5860a4b3">set_accel_path</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; accel_path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. <a href="#aa67f1f54bd72aa580e87150c5860a4b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#af252432d136900f11e622e798d352ba1">get_accel_path</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the accelerator path set on the menu. <a href="#af252432d136900f11e622e798d352ba1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a56101a2dfae44d7b5ae4220b7acac006">detach</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a13e438d2b9e678178ab83eb20f4ab3fb">get_attach_widget</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ac84c0e8179c5d0740137433019364c0a">get_attach_widget</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ab6c92b23e8efc7524882ca11ef956178">set_tearoff_state</a> (bool torn_off=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a2c77bbf05cb9af10596df8f4eb15ed71">get_tearoff_state</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the menu is torn off. <a href="#a2c77bbf05cb9af10596df8f4eb15ed71"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a53cd143ce2b01b865fcf0171691623a8">set_title</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; title)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the title string for the menu. <a href="#a53cd143ce2b01b865fcf0171691623a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a8c2228e776a0f1f8e3a3328c7e5f83a6">unset_title</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a374e0a72b4595a01489409e48e7159cf">get_title</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the title of the menu. <a href="#a374e0a72b4595a01489409e48e7159cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a7ee89975364a523c4662a188c02eaf28">set_screen</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp; screen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> on which the menu will be displayed. <a href="#a7ee89975364a523c4662a188c02eaf28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a553a507018a5b411c6e839d710cd5805">attach</a> (<a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>&amp; child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a new <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">Gtk::MenuItem</a> to a (table) menu. <a href="#a553a507018a5b411c6e839d710cd5805"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a3a407327705ee7a135674fb7d75732a4">set_monitor</a> (int monitor_num)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Informs GTK+ on which monitor a menu should be popped up. <a href="#a3a407327705ee7a135674fb7d75732a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#aa172c1772304904c1f505f203a02014a">get_monitor</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the number of the monitor on which to show the menu. <a href="#aa172c1772304904c1f505f203a02014a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ab4c6d8d9f9c915c1fab7344440cb6e7e">reorder_child</a> (const <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp; child, int position)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ad605265ee9bc5ead53d9eb1bb1edbb06">set_reserve_toggle_size</a> (bool reserve_toggle_size=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the menu should reserve space for drawing toggles or icons, regardless of their actual presence. <a href="#ad605265ee9bc5ead53d9eb1bb1edbb06"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a43cf58cc993b1faa96ac44cf65baf7e9">get_reserve_toggle_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the menu reserves space for toggles and icons, regardless of their actual presence. <a href="#a43cf58cc993b1faa96ac44cf65baf7e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ada09aade05e5a5402b9f712a32d92ac9">property_active</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The currently selected menu item. <a href="#ada09aade05e5a5402b9f712a32d92ac9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a5e673fc6cad2dd2c49711f02625c339a">property_active</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The currently selected menu item. <a href="#a5e673fc6cad2dd2c49711f02625c339a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a3072a6188c6ef0c63d03c6f898d333c0">property_accel_group</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The accel group holding accelerators for the menu. <a href="#a3072a6188c6ef0c63d03c6f898d333c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a873b2f97047e59d71a23813fa7ea5b8a">property_accel_group</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The accel group holding accelerators for the menu. <a href="#a873b2f97047e59d71a23813fa7ea5b8a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a1fb492f69c725f632a22fcaaa5d31f7e">property_accel_path</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An accel path used to conveniently construct accel paths of child items. <a href="#a1fb492f69c725f632a22fcaaa5d31f7e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a41c2b3ae8564c236d0c832a3487be414">property_accel_path</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An accel path used to conveniently construct accel paths of child items. <a href="#a41c2b3ae8564c236d0c832a3487be414"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a73b9b6c94d996d0cbe9ec7b7c23e3745">property_attach_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The widget the menu is attached to. <a href="#a73b9b6c94d996d0cbe9ec7b7c23e3745"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a585852d13ff273a5da337ecb62b7249c">property_attach_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The widget the menu is attached to. <a href="#a585852d13ff273a5da337ecb62b7249c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a0217b7e49e4412f76fc5f739c3a91a26">property_tearoff_title</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A title that may be displayed by the window manager when this menu is torn-off. <a href="#a0217b7e49e4412f76fc5f739c3a91a26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a7650e443cfecefc39a3c39b5bc0696fc">property_tearoff_title</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A title that may be displayed by the window manager when this menu is torn-off. <a href="#a7650e443cfecefc39a3c39b5bc0696fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#af8f0caa148bd2910971533f67dd827e8">property_tearoff_state</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A boolean that indicates whether the menu is torn-off. <a href="#af8f0caa148bd2910971533f67dd827e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a3a5723694c651d1582abbdc41291a164">property_tearoff_state</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A boolean that indicates whether the menu is torn-off. <a href="#a3a5723694c651d1582abbdc41291a164"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a96c0c88debdd88a4ebb66b2e8f60796c">property_monitor</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The monitor the menu will be popped up on. <a href="#a96c0c88debdd88a4ebb66b2e8f60796c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#aef6b0a7edd91597b479bffa8898a0196">property_monitor</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The monitor the menu will be popped up on. <a href="#aef6b0a7edd91597b479bffa8898a0196"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ad351d23325474a949122706120844748">property_reserve_toggle_size</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A boolean that indicates whether the menu reserves space for toggles and icons. <a href="#ad351d23325474a949122706120844748"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a0c096fb96456d97a380ce75ba8a6ab4a">property_reserve_toggle_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A boolean that indicates whether the menu reserves space for toggles and icons. <a href="#a0c096fb96456d97a380ce75ba8a6ab4a"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#ad65fee40d0c95bab85928e0d737f4e1f">GtkMenuDetachFunc</a> )(GtkWidget* attach_widget, GtkMenu* menu)</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#abbeea8311b50e1c2c180d83206431d71">attach_to_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; attach_widget, <a class="el" href="classGtk_1_1Menu.html#ad65fee40d0c95bab85928e0d737f4e1f">GtkMenuDetachFunc</a> detacher)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a192b045df4c37eaff1277e3589960ac7">attach_to_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; attach_widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches the menu to the widget. <a href="#a192b045df4c37eaff1277e3589960ac7"></a><br/></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="classGtk_1_1Menu.html">Gtk::Menu</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu.html#a553dba6e5634da8fcf6381bc83bbc20f">wrap</a> (GtkMenu* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a553dba6e5634da8fcf6381bc83bbc20f"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A drop-down menu consisting of <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">Gtk::MenuItem</a> objects which can be navigated and activated by the user to perform application functions. </p>
<p>Menus are normally placed inside a <a class="el" href="classGtk_1_1MenuBar.html" title="A standard menu bar which usually holds Gtk::Menu submenu items.">Gtk::MenuBar</a> or another <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> as a sub menu. A <a class="el" href="classGtk_1_1Menu.html" title="A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated...">Menu</a> can also be popped up, for instance as a right-click context menu, by calling the <a class="el" href="classGtk_1_1Menu.html#a6501cd09e10a13f18249202571f02a78">popup()</a> method.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ad65fee40d0c95bab85928e0d737f4e1f"></a><!-- doxytag: member="Gtk::Menu::GtkMenuDetachFunc" ref="ad65fee40d0c95bab85928e0d737f4e1f" args=")(GtkWidget *attach_widget, GtkMenu *menu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* <a class="el" href="classGtk_1_1Menu.html#ad65fee40d0c95bab85928e0d737f4e1f">Gtk::Menu::GtkMenuDetachFunc</a>)(GtkWidget* attach_widget, GtkMenu* menu)<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac8978c6bcd462454c19e70a7f8805ea6"></a><!-- doxytag: member="Gtk::Menu::SlotPositionCalc" ref="ac8978c6bcd462454c19e70a7f8805ea6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt;void, int&amp;, int&amp;, bool&amp;&gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gtk::Menu::SlotPositionCalc</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For instance, void on_popup_menu_position(int&amp; x, int&amp; y, bool&amp; push_in);. </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a813c1f65cc355c32c9eb59227e3fe01e"></a><!-- doxytag: member="Gtk::Menu::~Menu" ref="a813c1f65cc355c32c9eb59227e3fe01e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Menu::~Menu </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afd6add4a7ef105f29efa125bb5ef40cf"></a><!-- doxytag: member="Gtk::Menu::Menu" ref="afd6add4a7ef105f29efa125bb5ef40cf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Menu::Menu </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a553a507018a5b411c6e839d710cd5805"></a><!-- doxytag: member="Gtk::Menu::attach" ref="a553a507018a5b411c6e839d710cd5805" args="(Gtk::Widget &amp;child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::attach </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>left_attach</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>right_attach</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>top_attach</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>bottom_attach</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a new <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">Gtk::MenuItem</a> to a (table) menu. </p>
<p>The number of 'cells' that an item will occupy is specified by <em>left_attach</em>, <em>right_attach</em>, <em>top_attach</em> and <em>bottom_attach</em>. These each represent the leftmost, rightmost, uppermost and lower column and row numbers of the table. (Columns and rows are indexed from zero).</p>
<p>Note that this function is not related to <a class="el" href="classGtk_1_1Menu.html#a56101a2dfae44d7b5ae4220b7acac006">detach()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000209">Since gtkmm 2.4:</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>child</em>&#160;</td><td>A <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">Gtk::MenuItem</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>left_attach</em>&#160;</td><td>The column number to attach the left side of the item to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>right_attach</em>&#160;</td><td>The column number to attach the right side of the item to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>top_attach</em>&#160;</td><td>The row number to attach the top of the item to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bottom_attach</em>&#160;</td><td>The row number to attach the bottom of the item to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a192b045df4c37eaff1277e3589960ac7"></a><!-- doxytag: member="Gtk::Menu::attach_to_widget" ref="a192b045df4c37eaff1277e3589960ac7" args="(Widget &amp;attach_widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::attach_to_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>attach_widget</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Attaches the menu to the widget. </p>
<p>param : the <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> that the menu will be attached to.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000068">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="abbeea8311b50e1c2c180d83206431d71"></a><!-- doxytag: member="Gtk::Menu::attach_to_widget" ref="abbeea8311b50e1c2c180d83206431d71" args="(Widget &amp;attach_widget, GtkMenuDetachFunc detacher)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::attach_to_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>attach_widget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Menu.html#ad65fee40d0c95bab85928e0d737f4e1f">GtkMenuDetachFunc</a>&#160;</td>
          <td class="paramname"> <em>detacher</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a56101a2dfae44d7b5ae4220b7acac006"></a><!-- doxytag: member="Gtk::Menu::detach" ref="a56101a2dfae44d7b5ae4220b7acac006" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::detach </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa9620d30b2f77260e826f785591624a2"></a><!-- doxytag: member="Gtk::Menu::get_accel_group" ref="aa9620d30b2f77260e826f785591624a2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>&gt; Gtk::Menu::get_accel_group </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7bdd6c75710d48e4655bb28a4fb822cd"></a><!-- doxytag: member="Gtk::Menu::get_accel_group" ref="a7bdd6c75710d48e4655bb28a4fb822cd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>&gt; Gtk::Menu::get_accel_group </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af252432d136900f11e622e798d352ba1"></a><!-- doxytag: member="Gtk::Menu::get_accel_path" ref="af252432d136900f11e622e798d352ba1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Menu::get_accel_path </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the accelerator path set on the menu. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000098">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The accelerator path set on the menu. </dd></dl>

</div>
</div>
<a class="anchor" id="aacbd92ec63b1b8d98d90429f0dcdfa2b"></a><!-- doxytag: member="Gtk::Menu::get_active" ref="aacbd92ec63b1b8d98d90429f0dcdfa2b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>* Gtk::Menu::get_active </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab7ea3340aadb2c3afcedcd65ac6d3398"></a><!-- doxytag: member="Gtk::Menu::get_active" ref="ab7ea3340aadb2c3afcedcd65ac6d3398" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>* Gtk::Menu::get_active </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac84c0e8179c5d0740137433019364c0a"></a><!-- doxytag: member="Gtk::Menu::get_attach_widget" ref="ac84c0e8179c5d0740137433019364c0a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Menu::get_attach_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a13e438d2b9e678178ab83eb20f4ab3fb"></a><!-- doxytag: member="Gtk::Menu::get_attach_widget" ref="a13e438d2b9e678178ab83eb20f4ab3fb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Menu::get_attach_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa172c1772304904c1f505f203a02014a"></a><!-- doxytag: member="Gtk::Menu::get_monitor" ref="aa172c1772304904c1f505f203a02014a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::Menu::get_monitor </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the number of the monitor on which to show the menu. </p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000099">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of the monitor on which the menu should be popped up or -1, if no monitor has been set. </dd></dl>

</div>
</div>
<a class="anchor" id="a43cf58cc993b1faa96ac44cf65baf7e9"></a><!-- doxytag: member="Gtk::Menu::get_reserve_toggle_size" ref="a43cf58cc993b1faa96ac44cf65baf7e9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Menu::get_reserve_toggle_size </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the menu reserves space for toggles and icons, regardless of their actual presence. </p>
<dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000051">Since gtkmm 2.18:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether the menu reserves toggle space. </dd></dl>

</div>
</div>
<a class="anchor" id="a2c77bbf05cb9af10596df8f4eb15ed71"></a><!-- doxytag: member="Gtk::Menu::get_tearoff_state" ref="a2c77bbf05cb9af10596df8f4eb15ed71" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Menu::get_tearoff_state </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the menu is torn off. </p>
<p>See <a class="el" href="classGtk_1_1Menu.html#ab6c92b23e8efc7524882ca11ef956178">set_tearoff_state()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the menu is currently torn off. </dd></dl>

</div>
</div>
<a class="anchor" id="a374e0a72b4595a01489409e48e7159cf"></a><!-- doxytag: member="Gtk::Menu::get_title" ref="a374e0a72b4595a01489409e48e7159cf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Menu::get_title </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the title of the menu. </p>
<p>See <a class="el" href="classGtk_1_1Menu.html#a53cd143ce2b01b865fcf0171691623a8" title="Sets the title string for the menu.">set_title()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The title of the menu, or <code>0</code> if the menu has no title set on it. This string is owned by the widget and should not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a943271a828e8bfa829c6bf4ed0060203"></a><!-- doxytag: member="Gtk::Menu::gobj" ref="a943271a828e8bfa829c6bf4ed0060203" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkMenu* Gtk::Menu::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGtk_1_1MenuShell.html#a4417adfb6a301e40a0040517c43e69c7">Gtk::MenuShell</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1RecentChooserMenu.html#ac8d86c1bbe5f6997e524f28db4cb95b5">Gtk::RecentChooserMenu</a>.</p>

</div>
</div>
<a class="anchor" id="a08434c6b137ce53eb939b09d577aa9bb"></a><!-- doxytag: member="Gtk::Menu::gobj" ref="a08434c6b137ce53eb939b09d577aa9bb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkMenu* Gtk::Menu::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGtk_1_1MenuShell.html#abb7c2641f9e3624f3225dcf76d8b994c">Gtk::MenuShell</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1RecentChooserMenu.html#ae3863ae813b85f9b9ac6f4075370a55e">Gtk::RecentChooserMenu</a>.</p>

</div>
</div>
<a class="anchor" id="a976bd97bc3879ed371cf9ef178a40543"></a><!-- doxytag: member="Gtk::Menu::popdown" ref="a976bd97bc3879ed371cf9ef178a40543" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::popdown </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adfcc6dd5dbc296bf8cdda4556b572784"></a><!-- doxytag: member="Gtk::Menu::popup" ref="adfcc6dd5dbc296bf8cdda4556b572784" args="(guint button, guint32 activate_time)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::popup </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>button</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"> <em>activate_time</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Displays a menu and makes it available for selection. </p>
<p>Applications can use this function to display context-sensitive menus, at the current pointer position. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>button</em>&#160;</td><td>The button which was pressed to initiate the event. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>activate_time</em>&#160;</td><td>The time at which the activation event occurred. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4c66c33c8fdfe3e837b1fcf20f302cf7"></a><!-- doxytag: member="Gtk::Menu::popup" ref="a4c66c33c8fdfe3e837b1fcf20f302cf7" args="(const SlotPositionCalc &amp;position_calc_slot, guint button, guint32 activate_time)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::popup </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotPositionCalc</a> &amp;&#160;</td>
          <td class="paramname"> <em>position_calc_slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>button</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"> <em>activate_time</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Displays a menu and makes it available for selection. </p>
<p>Applications can use this function to display context-sensitive menus.</p>
<p>The <em>button</em> parameter should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, <em>button</em> should be 0.</p>
<p>The <em>activate_time</em> parameter should be the time stamp of the event that initiated the popup. If such an event is not available, use gtk_get_current_event_time() instead. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>func</em>&#160;</td><td>A position_calc_slot supplied function used to position the menu, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>button</em>&#160;</td><td>The mouse button which was pressed to initiate the event. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>activate_time</em>&#160;</td><td>The time at which the activation event occurred. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6501cd09e10a13f18249202571f02a78"></a><!-- doxytag: member="Gtk::Menu::popup" ref="a6501cd09e10a13f18249202571f02a78" args="(MenuShell &amp;parent_menu_shell, MenuItem &amp;parent_menu_item, const SlotPositionCalc &amp;slot, guint button, guint32 activate_time)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::popup </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1MenuShell.html">MenuShell</a>&amp;&#160;</td>
          <td class="paramname"> <em>parent_menu_shell</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp;&#160;</td>
          <td class="paramname"> <em>parent_menu_item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotPositionCalc</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>button</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"> <em>activate_time</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a873b2f97047e59d71a23813fa7ea5b8a"></a><!-- doxytag: member="Gtk::Menu::property_accel_group" ref="a873b2f97047e59d71a23813fa7ea5b8a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>&gt; &gt; Gtk::Menu::property_accel_group </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The accel group holding accelerators for the menu. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a3072a6188c6ef0c63d03c6f898d333c0"></a><!-- doxytag: member="Gtk::Menu::property_accel_group" ref="a3072a6188c6ef0c63d03c6f898d333c0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>&gt; &gt; Gtk::Menu::property_accel_group </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The accel group holding accelerators for the menu. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a41c2b3ae8564c236d0c832a3487be414"></a><!-- doxytag: member="Gtk::Menu::property_accel_path" ref="a41c2b3ae8564c236d0c832a3487be414" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::Menu::property_accel_path </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An accel path used to conveniently construct accel paths of child items. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a1fb492f69c725f632a22fcaaa5d31f7e"></a><!-- doxytag: member="Gtk::Menu::property_accel_path" ref="a1fb492f69c725f632a22fcaaa5d31f7e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::Menu::property_accel_path </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An accel path used to conveniently construct accel paths of child items. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a5e673fc6cad2dd2c49711f02625c339a"></a><!-- doxytag: member="Gtk::Menu::property_active" ref="a5e673fc6cad2dd2c49711f02625c339a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::Menu::property_active </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The currently selected menu item. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ada09aade05e5a5402b9f712a32d92ac9"></a><!-- doxytag: member="Gtk::Menu::property_active" ref="ada09aade05e5a5402b9f712a32d92ac9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt; Gtk::Menu::property_active </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The currently selected menu item. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a585852d13ff273a5da337ecb62b7249c"></a><!-- doxytag: member="Gtk::Menu::property_attach_widget" ref="a585852d13ff273a5da337ecb62b7249c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="classGtk_1_1Widget.html">Widget</a>*&gt; Gtk::Menu::property_attach_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The widget the menu is attached to. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a73b9b6c94d996d0cbe9ec7b7c23e3745"></a><!-- doxytag: member="Gtk::Menu::property_attach_widget" ref="a73b9b6c94d996d0cbe9ec7b7c23e3745" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="classGtk_1_1Widget.html">Widget</a>*&gt; Gtk::Menu::property_attach_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The widget the menu is attached to. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="aef6b0a7edd91597b479bffa8898a0196"></a><!-- doxytag: member="Gtk::Menu::property_monitor" ref="aef6b0a7edd91597b479bffa8898a0196" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::Menu::property_monitor </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The monitor the menu will be popped up on. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a96c0c88debdd88a4ebb66b2e8f60796c"></a><!-- doxytag: member="Gtk::Menu::property_monitor" ref="a96c0c88debdd88a4ebb66b2e8f60796c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt; Gtk::Menu::property_monitor </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The monitor the menu will be popped up on. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a0c096fb96456d97a380ce75ba8a6ab4a"></a><!-- doxytag: member="Gtk::Menu::property_reserve_toggle_size" ref="a0c096fb96456d97a380ce75ba8a6ab4a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gtk::Menu::property_reserve_toggle_size </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A boolean that indicates whether the menu reserves space for toggles and icons. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ad351d23325474a949122706120844748"></a><!-- doxytag: member="Gtk::Menu::property_reserve_toggle_size" ref="ad351d23325474a949122706120844748" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::Menu::property_reserve_toggle_size </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A boolean that indicates whether the menu reserves space for toggles and icons. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a3a5723694c651d1582abbdc41291a164"></a><!-- doxytag: member="Gtk::Menu::property_tearoff_state" ref="a3a5723694c651d1582abbdc41291a164" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gtk::Menu::property_tearoff_state </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A boolean that indicates whether the menu is torn-off. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="af8f0caa148bd2910971533f67dd827e8"></a><!-- doxytag: member="Gtk::Menu::property_tearoff_state" ref="af8f0caa148bd2910971533f67dd827e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::Menu::property_tearoff_state </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A boolean that indicates whether the menu is torn-off. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a7650e443cfecefc39a3c39b5bc0696fc"></a><!-- doxytag: member="Gtk::Menu::property_tearoff_title" ref="a7650e443cfecefc39a3c39b5bc0696fc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::Menu::property_tearoff_title </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A title that may be displayed by the window manager when this menu is torn-off. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a0217b7e49e4412f76fc5f739c3a91a26"></a><!-- doxytag: member="Gtk::Menu::property_tearoff_title" ref="a0217b7e49e4412f76fc5f739c3a91a26" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::Menu::property_tearoff_title </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A title that may be displayed by the window manager when this menu is torn-off. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ab4c6d8d9f9c915c1fab7344440cb6e7e"></a><!-- doxytag: member="Gtk::Menu::reorder_child" ref="ab4c6d8d9f9c915c1fab7344440cb6e7e" args="(const MenuItem &amp;child, int position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::reorder_child </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>position</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a84f2f1e74ba1a6316077a4dcee13ed87"></a><!-- doxytag: member="Gtk::Menu::reposition" ref="a84f2f1e74ba1a6316077a4dcee13ed87" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::reposition </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a82f9e1d2e501b7cacec74bb9e3c7e4ce"></a><!-- doxytag: member="Gtk::Menu::set_accel_group" ref="a82f9e1d2e501b7cacec74bb9e3c7e4ce" args="(const Glib::RefPtr&lt; AccelGroup &gt; &amp;accel_group)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::set_accel_group </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>accel_group</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa67f1f54bd72aa580e87150c5860a4b3"></a><!-- doxytag: member="Gtk::Menu::set_accel_path" ref="aa67f1f54bd72aa580e87150c5860a4b3" args="(const Glib::ustring &amp;accel_path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::set_accel_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>accel_path</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. </p>
<p>The main purpose of this function is to spare the programmer the inconvenience of having to call <a class="el" href="classGtk_1_1MenuItem.html#aab05629dd1ed0bb52b3efaf197e5b675" title="Set the accelerator path on menu_item, through which runtime changes of the menu...">Gtk::MenuItem::set_accel_path()</a> on each menu item that should support runtime user changable accelerators. Instead, by just calling <a class="el" href="classGtk_1_1Menu.html#aa67f1f54bd72aa580e87150c5860a4b3" title="Sets an accelerator path for this menu from which accelerator paths for its immediate...">set_accel_path()</a> on their parent, each menu item of this menu, that contains a label describing its purpose, automatically gets an accel path assigned. For example, a menu containing menu items "New" and "Exit", will, after &lt;literal&gt;gtk_menu_set_accel_path (menu, "&lt;Gnumeric-Sheet&gt;/File");&lt;/literal&gt; has been called, assign its items the accel paths: &lt;literal&gt;"&lt;Gnumeric-Sheet&gt;/File/New"&lt;/literal&gt; and &lt;literal&gt;"&lt;Gnumeric-Sheet&gt;/File/Exit"&lt;/literal&gt;. Assigning accel paths to menu items then enables the user to change their accelerators at runtime. More details about accelerator paths and their default setups can be found at <a class="el" href="namespaceGtk_1_1AccelMap.html#a6313a0f99aebe342c08f2d2d0f9416ad" title="Registers a new accelerator with the global accelerator map.">Gtk::AccelMap::add_entry()</a>.</p>
<p>Note that <em>accel_path</em> string will be stored in a Quark. Therefore, if you pass a static string, you can save some memory by interning it first with Glib::intern_static_string(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accel_path</em>&#160;</td><td>A valid accelerator path. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a392d8010777bde0686aa904b73db265a"></a><!-- doxytag: member="Gtk::Menu::set_active" ref="a392d8010777bde0686aa904b73db265a" args="(guint index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::set_active </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"> <em>index</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3a407327705ee7a135674fb7d75732a4"></a><!-- doxytag: member="Gtk::Menu::set_monitor" ref="a3a407327705ee7a135674fb7d75732a4" args="(int monitor_num)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::set_monitor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>monitor_num</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Informs GTK+ on which monitor a menu should be popped up. </p>
<p>See gdk_screen_get_monitor_geometry().</p>
<p>This function should be called from a Gtk::MenuPositionFunc if the menu should not appear on the same monitor as the pointer. This information can't be reliably inferred from the coordinates returned by a Gtk::MenuPositionFunc, since, for very long menus, these coordinates may extend beyond the monitor boundaries or even the screen boundaries.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000210">Since gtkmm 2.4:</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>monitor_num</em>&#160;</td><td>The number of the monitor on which the menu should be popped up. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad605265ee9bc5ead53d9eb1bb1edbb06"></a><!-- doxytag: member="Gtk::Menu::set_reserve_toggle_size" ref="ad605265ee9bc5ead53d9eb1bb1edbb06" args="(bool reserve_toggle_size=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::set_reserve_toggle_size </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>reserve_toggle_size</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether the menu should reserve space for drawing toggles or icons, regardless of their actual presence. </p>
<dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000050">Since gtkmm 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>reserve_toggle_size</em>&#160;</td><td>Whether to reserve size for toggles. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7ee89975364a523c4662a188c02eaf28"></a><!-- doxytag: member="Gtk::Menu::set_screen" ref="a7ee89975364a523c4662a188c02eaf28" args="(const Glib::RefPtr&lt; Gdk::Screen &gt; &amp;screen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::set_screen </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>screen</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> on which the menu will be displayed. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000099">Since gtkmm 2.2:</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>screen</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a>, or <code>0</code> if the screen should be determined by the widget the menu is attached to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab6c92b23e8efc7524882ca11ef956178"></a><!-- doxytag: member="Gtk::Menu::set_tearoff_state" ref="ab6c92b23e8efc7524882ca11ef956178" args="(bool torn_off=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::set_tearoff_state </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>torn_off</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a53cd143ce2b01b865fcf0171691623a8"></a><!-- doxytag: member="Gtk::Menu::set_title" ref="a53cd143ce2b01b865fcf0171691623a8" args="(const Glib::ustring &amp;title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::set_title </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>title</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the title string for the menu. </p>
<p>The title is displayed when the menu is shown as a tearoff menu. If <em>title</em> is <code>0</code>, the menu will see if it is attached to a parent menu item, and if so it will try to use the same text as that menu item's label. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>title</em>&#160;</td><td>A string containing the title for the menu. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7202ceac91d65cbf09def78c4f7e6628"></a><!-- doxytag: member="Gtk::Menu::unset_accel_group" ref="a7202ceac91d65cbf09def78c4f7e6628" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::unset_accel_group </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8c2228e776a0f1f8e3a3328c7e5f83a6"></a><!-- doxytag: member="Gtk::Menu::unset_title" ref="a8c2228e776a0f1f8e3a3328c7e5f83a6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Menu::unset_title </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a553dba6e5634da8fcf6381bc83bbc20f"></a><!-- doxytag: member="Gtk::Menu::wrap" ref="a553dba6e5634da8fcf6381bc83bbc20f" args="(GtkMenu *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Menu.html">Gtk::Menu</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkMenu *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</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="elRef" href="../../../glibmm-2.4/reference/html/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>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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>gtkmm/menu.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:55 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>