<html> <head><title>Gtk-- Reference: Gtk::Menu_Helpers::Element</title></head> <body bgcolor="#F0F0F0" text="#000000" link="#0000FF" vlink="#000077" alink="#FF0000"> <table align=center border=0 cellspacing=10> <tr> <td><a href="class_index.html">Class Index</a></td> <td><a href="cross_index.html">Cross Index</a></td> <td><a href="name_index.html">Namespace Index</a></td> </table> <h1 align=center>Class Gtk::Menu_Helpers::Element</h1><p> <b></b><br> Contained in: <a href="Gtk%3A%3AMenu_Helpers.html">Gtk::Menu_Helpers</a><br> Derived from: <i>none</i> <br> Derived by: <a href="Gtk::Menu_Helpers::CheckMenuElem.html">Gtk::Menu_Helpers::CheckMenuElem</a> <a href="Gtk::Menu_Helpers::MenuElem.html">Gtk::Menu_Helpers::MenuElem</a> <a href="Gtk::Menu_Helpers::RadioMenuElem.html">Gtk::Menu_Helpers::RadioMenuElem</a> <a href="Gtk::Menu_Helpers::SeparatorElem.html">Gtk::Menu_Helpers::SeparatorElem</a> <a href="Gtk::Menu_Helpers::TearoffMenuElem.html">Gtk::Menu_Helpers::TearoffMenuElem</a> <p> #include <gtk--/menushell.h> <p> <hr noshade> <table border=0> <tr><td colspan=3><h3>public function member index:</h3></td> <tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1961"><tt><font color=blue><b>Element</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AMenuItem.html"><tt><font color=navy><b>MenuItem</b></font></tt></a>* <tt><font color=blue>child</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1962"><tt><font color=blue><b>Element</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AMenuItem.html"><tt><font color=navy><b>MenuItem</b></font></tt></a>& <tt><font color=blue>child</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1963"><tt><font color=blue><b>~Element</b></font></tt></a></td><td><tt>()</tt>;</td> <tr><td> </td><tr><td colspan=3><h3>protected function member index:</h3></td> <tr valign=top><td align=right><tt><tt>virtual</tt> <tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1967"><tt><font color=blue><b>create_child_menu_item</b></font></tt></a></td><td><tt>()</tt>;</td> <tr valign=top><td align=right><tt><a href="Gtk%3A%3AMenuItem.html"><tt><font color=navy><b>MenuItem</b></font></tt></a>*</tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1968"><tt><font color=blue><b>get_child</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> <tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1969"><tt><font color=blue><b>init</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>label</font></tt>, <tt><font color=navy>SigC::Slot0</font></tt><<tt><font color=purple>void</font></tt>> <tt><font color=blue>callback</font></tt>, <tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>accel_signal</font></tt>, <tt>const</tt> <a href="Gtk%3A%3AMenu_Helpers%3A%3AAccelKey.html"><tt><font color=navy><b>AccelKey</b></font></tt></a>& <tt><font color=blue>key</font></tt> = AccelKey())</tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> <tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1970"><tt><font color=blue><b>init</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>label</font></tt>, <a href="Gtk%3A%3AMenu.html"><tt><font color=navy><b>Menu</b></font></tt></a>& <tt><font color=blue>submenu</font></tt>, <tt>const</tt> <a href="Gtk%3A%3AMenu_Helpers%3A%3AAccelKey.html"><tt><font color=navy><b>AccelKey</b></font></tt></a>& <tt><font color=blue>key</font></tt> = AccelKey())</tt>;</td> <tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1965"><tt><font color=blue><b>set_callback</b></font></tt></a></td><td><tt>(<tt><font color=navy>SigC::Slot0</font></tt><<tt><font color=purple>void</font></tt>> <tt><font color=blue>callback</font></tt>, <tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>accel_signal</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AMenu_Helpers%3A%3AElement.html#1966"><tt><font color=blue><b>set_navigation</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>str</font></tt>, <tt>const</tt> <a href="Gtk%3A%3AMenu_Helpers%3A%3AAccelKey.html"><tt><font color=navy><b>AccelKey</b></font></tt></a>& <tt><font color=blue>accel_key</font></tt>=AccelKey())</tt>;</td> <tr><td> </td></table> <hr noshade> <h2>Description:</h2> <br> <p> <hr noshade> <h2>Function Member Descriptions:</h2> <hr noshade> <h2>Variable Member Descriptions:</h2> <hr noshade> </html>