mymenu->begin(); new Item("in main menu"); {MenuSection g("submenu title"); new Item("in submenu"); new Item("also in submenu"); } // destructor ends the submenu
Public Member Functions | |
ItemGroup * | group () const |
The ItemGroup created by this. | |
MenuSection (const char *label, const Symbol *i) | |
MenuSection (const char *label=0) | |
build a typical submenu group section, then call begin() | |
~MenuSection () | |
call end() at destruction |