|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
#include <author.hpp>
Public Attributes | |
| AnyHandle | label |
| The label: the button's text and its accessible name. | |
| AnyHandle | icon |
| An icon of the theme's icon map; it never names the button. | |
| ButtonEmphasis | emphasis = ButtonEmphasis::Normal |
| How much it stands out; Normal writes no key. | |
| Commands | onClick |
| Commands run on a click. | |
| Commands | onActivate |
| Commands run on activation by keyboard. | |
| std::optional< ButtonStyle > | style |
| A push button or a list entry; absent writes no key, a push button. | |
| AnyHandle | selected |
| Whether a list entry is the current one, a condition; only with ButtonStyle::Item, which the loader checks. | |
Options of button.
Definition at line 3135 of file author.hpp.
| AnyHandle morph::ui::author::ButtonOptions::label |
The label: the button's text and its accessible name.
Definition at line 3137 of file author.hpp.
| AnyHandle morph::ui::author::ButtonOptions::icon |
An icon of the theme's icon map; it never names the button.
Definition at line 3139 of file author.hpp.
| ButtonEmphasis morph::ui::author::ButtonOptions::emphasis = ButtonEmphasis::Normal |
How much it stands out; Normal writes no key.
Definition at line 3141 of file author.hpp.
| Commands morph::ui::author::ButtonOptions::onClick |
Commands run on a click.
Definition at line 3143 of file author.hpp.
| Commands morph::ui::author::ButtonOptions::onActivate |
Commands run on activation by keyboard.
Definition at line 3145 of file author.hpp.
| std::optional<ButtonStyle> morph::ui::author::ButtonOptions::style |
A push button or a list entry; absent writes no key, a push button.
Definition at line 3147 of file author.hpp.
| AnyHandle morph::ui::author::ButtonOptions::selected |
Whether a list entry is the current one, a condition; only with ButtonStyle::Item, which the loader checks.
Definition at line 3150 of file author.hpp.