<!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_Helpers::ImageMenuElem 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.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li> <li class="navelem"><a class="el" href="namespaceGtk_1_1Menu__Helpers.html">Menu_Helpers</a> </li> <li class="navelem"><a class="el" href="classGtk_1_1Menu__Helpers_1_1ImageMenuElem.html">ImageMenuElem</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>Gtk::Menu_Helpers::ImageMenuElem Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::Menu_Helpers::ImageMenuElem" --><!-- doxytag: inherits="Gtk::Menu_Helpers::Element" --><div class="dynheader"> Inheritance diagram for Gtk::Menu_Helpers::ImageMenuElem:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Menu__Helpers_1_1ImageMenuElem__inherit__graph.png" border="0" usemap="#Gtk_1_1Menu__Helpers_1_1ImageMenuElem_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1Menu__Helpers_1_1ImageMenuElem_inherit__map" id="Gtk_1_1Menu__Helpers_1_1ImageMenuElem_inherit__map"> <area shape="rect" id="node2" href="classGtk_1_1Menu__Helpers_1_1Element.html" title="Gtk::Menu_Helpers::Element" alt="" coords="33,5,236,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gtk::Menu_Helpers::ImageMenuElem:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Menu__Helpers_1_1ImageMenuElem__coll__graph.png" border="0" usemap="#Gtk_1_1Menu__Helpers_1_1ImageMenuElem_coll__map" alt="Collaboration graph"/></div> <map name="Gtk_1_1Menu__Helpers_1_1ImageMenuElem_coll__map" id="Gtk_1_1Menu__Helpers_1_1ImageMenuElem_coll__map"> <area shape="rect" id="node2" href="classGtk_1_1Menu__Helpers_1_1Element.html" title="Gtk::Menu_Helpers::Element" alt="" coords="33,197,236,227"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< MenuItem \>" alt="" coords="43,101,227,131"/><area shape="rect" id="node6" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< T_CppObject \>" alt="" coords="35,5,235,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGtk_1_1Menu__Helpers_1_1ImageMenuElem-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1ImageMenuElem.html#a1c96ced13c7f87d08a19b94d9e8d7cd6">ImageMenuElem</a> (<a class="el" href="classGtk_1_1ImageMenuItem.html">ImageMenuItem</a>& child)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1ImageMenuElem.html#abb30d83995d78a1352280c6eb1df75a9">ImageMenuElem</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& label, <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>& image_widget, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">CallSlot</a>& slot=<a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">CallSlot</a>())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a labeled, non-accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>. <a href="#abb30d83995d78a1352280c6eb1df75a9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1ImageMenuElem.html#ac1c225f49bdcab83ee71c35d1e405054">ImageMenuElem</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& label, const <a class="el" href="classGtk_1_1AccelKey.html">AccelKey</a>& key, <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>& image_widget, const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">CallSlot</a>& slot=<a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">CallSlot</a>())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a labeled, accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>. <a href="#ac1c225f49bdcab83ee71c35d1e405054"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1ImageMenuElem.html#afa80438a7daf01d3c4d5245473e51c78">ImageMenuElem</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& label, <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>& image_widget, <a class="el" href="classGtk_1_1Menu.html">Gtk::Menu</a>& submenu)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a labeled, non-accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a submenu. <a href="#afa80438a7daf01d3c4d5245473e51c78"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1ImageMenuElem.html#a27bfb9250c33695fd871136903b3c5fc">ImageMenuElem</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& label, const <a class="el" href="classGtk_1_1AccelKey.html">AccelKey</a>& key, <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>& image_widget, <a class="el" href="classGtk_1_1Menu.html">Gtk::Menu</a>& submenu)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a labeled, accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a submenu. <a href="#a27bfb9250c33695fd871136903b3c5fc"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a1c96ced13c7f87d08a19b94d9e8d7cd6"></a><!-- doxytag: member="Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem" ref="a1c96ced13c7f87d08a19b94d9e8d7cd6" args="(ImageMenuItem &child)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem </td> <td>(</td> <td class="paramtype"><a class="el" href="classGtk_1_1ImageMenuItem.html">ImageMenuItem</a>& </td> <td class="paramname"><em>child</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="abb30d83995d78a1352280c6eb1df75a9"></a><!-- doxytag: member="Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem" ref="abb30d83995d78a1352280c6eb1df75a9" args="(const Glib::ustring &label, Gtk::Widget &image_widget, const CallSlot &slot=CallSlot())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>label</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>& </td> <td class="paramname"><em>image_widget</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">CallSlot</a> & </td> <td class="paramname"><em>slot</em> = <code><a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">CallSlot</a>()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a labeled, non-accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">label</td><td>The menu item's name </td></tr> <tr><td class="paramname">image_widget</td><td>The image </td></tr> <tr><td class="paramname">slot</td><td>Use <a class="elRef" href="../../../libsigc++-2.0/reference/html/group__mem__fun.html#ga7d9ea809173f48bf5c76cf1989591602">sigc::mem_fun()</a> to specify a signal handler </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ac1c225f49bdcab83ee71c35d1e405054"></a><!-- doxytag: member="Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem" ref="ac1c225f49bdcab83ee71c35d1e405054" args="(const Glib::ustring &label, const AccelKey &key, Gtk::Widget &image_widget, const CallSlot &slot=CallSlot())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>label</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_1Widget.html">Gtk::Widget</a>& </td> <td class="paramname"><em>image_widget</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">CallSlot</a> & </td> <td class="paramname"><em>slot</em> = <code><a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">CallSlot</a>()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a labeled, accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">label</td><td>The menu item's name </td></tr> <tr><td class="paramname">key</td><td>The accelerator key combination </td></tr> <tr><td class="paramname">image_widget</td><td>The image </td></tr> <tr><td class="paramname">slot</td><td>Use <a class="elRef" href="../../../libsigc++-2.0/reference/html/group__mem__fun.html#ga7d9ea809173f48bf5c76cf1989591602">sigc::mem_fun()</a> to specify a signal handler </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="afa80438a7daf01d3c4d5245473e51c78"></a><!-- doxytag: member="Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem" ref="afa80438a7daf01d3c4d5245473e51c78" args="(const Glib::ustring &label, Gtk::Widget &image_widget, Gtk::Menu &submenu)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>label</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>& </td> <td class="paramname"><em>image_widget</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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a labeled, non-accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a submenu. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">label</td><td>The menu item's name </td></tr> <tr><td class="paramname">image_widget</td><td>The image </td></tr> <tr><td class="paramname">submenu</td><td>The sub menu </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a27bfb9250c33695fd871136903b3c5fc"></a><!-- doxytag: member="Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem" ref="a27bfb9250c33695fd871136903b3c5fc" args="(const Glib::ustring &label, const AccelKey &key, Gtk::Widget &image_widget, Gtk::Menu &submenu)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>label</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_1Widget.html">Gtk::Widget</a>& </td> <td class="paramname"><em>image_widget</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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a labeled, accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a submenu. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">label</td><td>The menu item's name </td></tr> <tr><td class="paramname">key</td><td>The accelerator key combination </td></tr> <tr><td class="paramname">image_widget</td><td>The image </td></tr> <tr><td class="paramname">submenu</td><td>The sub menu </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gtkmm/menu_elems.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>