|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
A button of a screen's head (screen.action), or of a dialog's or drawer's footer. More...
#include <author.hpp>
Public Attributes | |
| std::string | id |
| The action's id, unique in its list: a name. | |
| AnyHandle | label |
| The label; required. | |
| AnyHandle | icon |
| The name of an icon. | |
| ButtonEmphasis | emphasis = ButtonEmphasis::Normal |
| How much it stands out; Normal writes no key. | |
| AnyHandle | enabled |
| Whether it can be run; absent enables it. | |
| AnyHandle | visible |
| Whether it is shown; absent shows it. | |
| Commands | onClick |
| Commands run when it is clicked, in the scope its list belongs to. | |
A button of a screen's head (screen.action), or of a dialog's or drawer's footer.
Definition at line 2413 of file author.hpp.
| std::string morph::ui::author::ActionButtonOptions::id |
The action's id, unique in its list: a name.
Definition at line 2415 of file author.hpp.
| AnyHandle morph::ui::author::ActionButtonOptions::label |
The label; required.
Definition at line 2417 of file author.hpp.
| AnyHandle morph::ui::author::ActionButtonOptions::icon |
The name of an icon.
Definition at line 2419 of file author.hpp.
| ButtonEmphasis morph::ui::author::ActionButtonOptions::emphasis = ButtonEmphasis::Normal |
How much it stands out; Normal writes no key.
Definition at line 2421 of file author.hpp.
| AnyHandle morph::ui::author::ActionButtonOptions::enabled |
Whether it can be run; absent enables it.
Definition at line 2423 of file author.hpp.
| AnyHandle morph::ui::author::ActionButtonOptions::visible |
Whether it is shown; absent shows it.
Definition at line 2425 of file author.hpp.
| Commands morph::ui::author::ActionButtonOptions::onClick |
Commands run when it is clicked, in the scope its list belongs to.
Definition at line 2427 of file author.hpp.