#include <Gmenus.h>
Inheritance diagram for GmenuItem:

Public Methods | |
| GmenuItem (Gstring label) | |
| GmenuItem (const char *label) | |
| GmenuItem (Gstring *references[]) | |
| ~GmenuItem () | |
| void | SetMenu (Gmenu *w) |
| bool | Init () |
| void | OnEvent (GdkEvent *e, void *user_data) |
| virtual void | OnAction (Gwidget *w, GdkEvent *e) |
| Gstring | GetText () |
|
|
Create a menu item with an associed Gmenu and GmenuItems inserted in the Gmenu. The label of the items is the Gstrings of the array references
|
|
|
Return the label of the menu item |
|
|
Init the widget Reimplemented from Gwidget. |
|
|
Action performed when a child widget sent an event Reimplemented from Gwidget. |
|
|
Action performed when an event occur Reimplemented from Gwidget. |
|
|
Assign a submenu to the menuitem |