struct
CMenuEntry
- Module
- Arc
- Header
#include "Arc/Widgets/AMenu.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
EType | Type | Default EType::Action. |
CText | Label | |
CText | ShortcutText | |
CName | Icon | Icon name from style |
const ArcColor* | IconColor | The icon's token while the row rests: a create menu draws each asset kind's icon in its asset colour. Hover and disabled keep the row state's own. Default nullptr. |
std::function<void()> | Action | |
std::function<bool()> | IsEnabled | |
std::function<bool()> | IsChecked | |
std::function<bool()> | IsHighlighted | |
bool | Destructive | Default false. |
std::vector<CMenuEntry> | SubEntries | For SubMenu type |
CText | SectionTitle | For Section type |
TSharedPtr<AWidget> | Content | For Widget type: a non-interactive row WidgetHeight tall spanning the menu's width (an empty state in a flyout with nothing to list). |
float | WidgetHeight | Default 0.0f. |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | GetEnabled | |
bool | GetChecked | |
bool | GetHighlighted |
Function details
GetEnabled
C++
bool GetEnabled() constGetChecked
C++
bool GetChecked() constGetHighlighted
C++
bool GetHighlighted() constGenerated from Arc/Widgets/AMenu.h via arc.json · Nov 5, 2026Version 1.0.0