<!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>gtkmm 2.4: Gtk::Menu_Helpers::StockMenuElem 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%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.1 --> <div class="nav"> <a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="namespaceGtk_1_1Menu__Helpers.html">Menu_Helpers</a>::<a class="el" href="classGtk_1_1Menu__Helpers_1_1StockMenuElem.html">StockMenuElem</a></div> <h1>Gtk::Menu_Helpers::StockMenuElem Class Reference</h1><!-- doxytag: class="Gtk::Menu_Helpers::StockMenuElem" --><!-- doxytag: inherits="Gtk::Menu_Helpers::Element" -->Inheritance diagram for Gtk::Menu_Helpers::StockMenuElem:<p><center><img src="classGtk_1_1Menu__Helpers_1_1StockMenuElem__inherit__graph.png" border="0" usemap="#Gtk_1_1Menu__Helpers_1_1StockMenuElem__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1Menu__Helpers_1_1StockMenuElem__inherit__map"> <area href="classGtk_1_1Menu__Helpers_1_1Element.html" shape="rect" coords="31,6,233,33" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1Menu__Helpers_1_1StockMenuElem-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1StockMenuElem.html#36b8dccc273e496695d77202e6a18ba5">StockMenuElem</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, const <a class="el" href="classGtk_1_1AccelKey.html">AccelKey</a>& key, <a class="el" href="classGtk_1_1Menu.html">Gtk::Menu</a>& submenu)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create an accelerated <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a> from a stock item with a submenu. <a href="#36b8dccc273e496695d77202e6a18ba5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1StockMenuElem.html#757e72f49ebb91c254af73557a8f56a5">StockMenuElem</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, <a class="el" href="classGtk_1_1Menu.html">Gtk::Menu</a>& submenu)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a non-accelerated <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a> from a stock item with a submenu. <a href="#757e72f49ebb91c254af73557a8f56a5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1StockMenuElem.html#daa3397ef7181512f6635ebdad47e74e">StockMenuElem</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, const <a class="el" href="classGtk_1_1AccelKey.html">AccelKey</a>& key, const <a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html#f53fc90cb267e509f86038016c592424">CallSlot</a>& slot=<a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html#f53fc90cb267e509f86038016c592424">CallSlot</a>())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create an accelerated <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a> from a stock item. <a href="#daa3397ef7181512f6635ebdad47e74e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1StockMenuElem.html#74e857e57598b87982d91bdeff00510c">StockMenuElem</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, const <a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html#f53fc90cb267e509f86038016c592424">CallSlot</a>& slot=<a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html#f53fc90cb267e509f86038016c592424">CallSlot</a>())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a non-accelerated <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a> from a stock item. <a href="#74e857e57598b87982d91bdeff00510c"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="74e857e57598b87982d91bdeff00510c"></a><!-- doxytag: member="Gtk::Menu_Helpers::StockMenuElem::StockMenuElem" ref="74e857e57598b87982d91bdeff00510c" args="(const Gtk::StockID &stock_id, const CallSlot &slot=CallSlot())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::StockMenuElem::StockMenuElem </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& </td> <td class="paramname"> <em>stock_id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html#f53fc90cb267e509f86038016c592424">CallSlot</a>& </td> <td class="paramname"> <em>slot</em> = <code><a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html#f53fc90cb267e509f86038016c592424">CallSlot</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Create a non-accelerated <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a> from a stock item. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>stock_id</em> </td><td>The ID of the stock item </td></tr> <tr><td valign="top"></td><td valign="top"><em>slot</em> </td><td>Use sigc::mem_fun() to specify a signal handler </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="daa3397ef7181512f6635ebdad47e74e"></a><!-- doxytag: member="Gtk::Menu_Helpers::StockMenuElem::StockMenuElem" ref="daa3397ef7181512f6635ebdad47e74e" args="(const Gtk::StockID &stock_id, const AccelKey &key, const CallSlot &slot=CallSlot())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::StockMenuElem::StockMenuElem </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& </td> <td class="paramname"> <em>stock_id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGtk_1_1AccelKey.html">AccelKey</a>& </td> <td class="paramname"> <em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html#f53fc90cb267e509f86038016c592424">CallSlot</a>& </td> <td class="paramname"> <em>slot</em> = <code><a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html#f53fc90cb267e509f86038016c592424">CallSlot</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Create an accelerated <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a> from a stock item. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>stock_id</em> </td><td>The ID of the stock item </td></tr> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>The accelerator key combination </td></tr> <tr><td valign="top"></td><td valign="top"><em>slot</em> </td><td>Use sigc::mem_fun() to specify a signal handler </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="757e72f49ebb91c254af73557a8f56a5"></a><!-- doxytag: member="Gtk::Menu_Helpers::StockMenuElem::StockMenuElem" ref="757e72f49ebb91c254af73557a8f56a5" args="(const Gtk::StockID &stock_id, Gtk::Menu &submenu)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::StockMenuElem::StockMenuElem </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& </td> <td class="paramname"> <em>stock_id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classGtk_1_1Menu.html">Gtk::Menu</a>& </td> <td class="paramname"> <em>submenu</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Create a non-accelerated <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a> from a stock item with a submenu. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>stock_id</em> </td><td>The ID of the stock item </td></tr> <tr><td valign="top"></td><td valign="top"><em>submenu</em> </td><td>The sub menu </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="36b8dccc273e496695d77202e6a18ba5"></a><!-- doxytag: member="Gtk::Menu_Helpers::StockMenuElem::StockMenuElem" ref="36b8dccc273e496695d77202e6a18ba5" args="(const Gtk::StockID &stock_id, const AccelKey &key, Gtk::Menu &submenu)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::StockMenuElem::StockMenuElem </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& </td> <td class="paramname"> <em>stock_id</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGtk_1_1AccelKey.html">AccelKey</a>& </td> <td class="paramname"> <em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classGtk_1_1Menu.html">Gtk::Menu</a>& </td> <td class="paramname"> <em>submenu</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Create an accelerated <a class="el" href="classGtk_1_1MenuItem.html">MenuItem</a> from a stock item with a submenu. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>stock_id</em> </td><td>The ID of the stock item </td></tr> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>The accelerator key combination </td></tr> <tr><td valign="top"></td><td valign="top"><em>submenu</em> </td><td>The sub menu </td></tr> </table> </dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="menu__elems_8h.html">menu_elems.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.1 © 1997-2001</small></address> </body> </html>