GGUI::MenuItemProps struct

Properties of ui.MenuItem.

Public variables

GGChord Shortcut
Display only. Bind the behaviour with ui.Command(chord, ...). Not needed for ui.MenuItem(action), which shows the action's chord.
bool bChecked
shows a check mark
bool bDisabled
shown disabled; can't be chosen
bool bKeepOpen
the menu stays open after it is chosen
std::string_view Class
its style classes