phoenix::Menu
A group of menu items.
struct Menu : Action {
void append(Action& actions...);
void remove(Action& actions...);
void setImage(const image &image);
void setText(const string &text);
};
void Menu::append(Action&... actions);
Add menu or menu items to this menu.
void Menu::remove(Action&... actions);
Remove child menu or menu items from this menu.
void Menu::setImage(const image &image);
Sets an icon to be displayed to the left of the menu group. The image is automatically resized to fit in the menu.
Note that this only works for submenus: top-level menu groups (that is, those on the window's main menu bar) cannot have an image displayed on them.
void Menu::setText(const string &text);
Set the caption for this menu.