ui::CommandValues¶
Header: winui/ui/Command.hpp.
What a Command's fields hold right now (Command::current()). A bound field holds its latest value, a plain field its fixed value.
| Field | Type | Default | |
|---|---|---|---|
text |
std::string |
The command's text. | |
icon |
IconSource |
The command's icon. | |
shortcut |
KeyCombo |
The command's shortcut. | |
description |
std::string |
The command's description. | |
enabled |
bool |
true |
Whether the command may run. |