#include <lvt/Menu.h>
Details.
Public Member Functions | |
void | Append (const std::string &text, Menu &subMenu) |
Appends a new submenu to the end of the menu. | |
void | Append (const std::string &text, int id) |
Appends a new menu item to the end of the menu. | |
void | AppendSeparator () |
Appends a separator to the end of the menu. | |
void | Insert (const std::string &text, int next, Menu &subMenu) |
Inserts a new submenu. | |
void | Insert (const std::string &text, int next, int id) |
Inserts a new menu item. | |
void | InsertSeparator (int next) |
Inserts a separator into the menu. | |
bool | Remove (int id) |
Removes a menu item from the menu. |
|
Appends a new submenu to the end of the menu.
|
|
Appends a new menu item to the end of the menu.
|
|
Appends a separator to the end of the menu.
|
|
Inserts a new submenu.
|
|
Inserts a new menu item.
|
|
Inserts a separator into the menu.
|
|
Removes a menu item from the menu.
|