struct

CMenuEntry

Module
Miri
Header
#include "Miri/Widgets/MMenu.h"
Namespace
Miri

Properties

TypeNameDescription
ETypeTypeDefault EType::Action.
CTextLabel
CTextShortcutText
CNameIconIcon name from style
const MiriColor*IconColorThe 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
boolDestructiveDefault false.
std::vector<CMenuEntry>SubEntriesFor SubMenu type
CTextSectionTitleFor Section type
TSharedPtr<MWidget>ContentFor Widget type: a non-interactive row WidgetHeight tall spanning the menu's width (an empty state in a flyout with nothing to list).
floatWidgetHeightDefault 0.0f.

Public functions

ReturnsNameDescription
boolGetEnabled
boolGetChecked
boolGetHighlighted

Function details

GetEnabled

C++
bool GetEnabled() const

GetChecked

C++
bool GetChecked() const

GetHighlighted

C++
bool GetHighlighted() const
Generated from Miri/Widgets/MMenu.h via miri.json · Dec 5, 2026Version 1.1.0