|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
An item of a menu; items nests a submenu. More...
#include <author.hpp>
Public Attributes | |
| AnyHandle | label |
| The label. | |
| AnyHandle | icon |
| An icon. | |
| std::string | keys |
| The shortcut shown beside it. | |
| AnyHandle | checked |
| Whether a checkable item is checked. | |
| AnyHandle | enabled |
| Whether it is enabled. | |
| Commands | onClick |
| Commands run when it is chosen. | |
| std::vector< MenuItem > | items |
| A submenu. | |
An item of a menu; items nests a submenu.
Definition at line 3291 of file author.hpp.
| AnyHandle morph::ui::author::MenuItem::label |
The label.
Definition at line 3293 of file author.hpp.
| AnyHandle morph::ui::author::MenuItem::icon |
An icon.
Definition at line 3295 of file author.hpp.
| std::string morph::ui::author::MenuItem::keys |
The shortcut shown beside it.
Definition at line 3297 of file author.hpp.
| AnyHandle morph::ui::author::MenuItem::checked |
Whether a checkable item is checked.
Definition at line 3299 of file author.hpp.
| AnyHandle morph::ui::author::MenuItem::enabled |
Whether it is enabled.
Definition at line 3301 of file author.hpp.
| Commands morph::ui::author::MenuItem::onClick |
Commands run when it is chosen.
Definition at line 3303 of file author.hpp.
| std::vector<MenuItem> morph::ui::author::MenuItem::items |
A submenu.
Definition at line 3305 of file author.hpp.