class

MToolbar

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

Public functions

ReturnsNameDescription
MIRI_WIDGET_ARGS
voidAddGroup
voidClearGroups
int32_tGetVisibleGroupCountGroups shown after the last layout; the rest are in the overflow.
int32_tGetGroupCount
voidOpenOverflowMenuOpens the overflow menu as a click on the chevron would.
MiriVec2ComputeDesiredSize
voidArrangeChildren
int32_tOnPaint
int32_tGetNumChildren
TSharedPtr<MWidget>GetChildAt
const char*GetTypeName

Function details

MIRI_WIDGET_ARGS

C++
MIRI_WIDGET_ARGS(MToolbar) MIRI_WIDGET_ARGS_END() void Construct(const CArguments& args)

AddGroup

C++
void AddGroup(const std::vector<TSharedPtr<MWidget>>& items)

ClearGroups

C++
void ClearGroups()

GetVisibleGroupCount

C++
int32_t GetVisibleGroupCount() const

Groups shown after the last layout; the rest are in the overflow.

GetGroupCount

C++
int32_t GetGroupCount() const

OpenOverflowMenu

C++
void OpenOverflowMenu()

Opens the overflow menu as a click on the chevron would.

ComputeDesiredSize

C++
MiriVec2 ComputeDesiredSize(float scale) const override

ArrangeChildren

C++
void ArrangeChildren(const CGeometry& geo) override

OnPaint

C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const override

GetNumChildren

C++
int32_t GetNumChildren() const override

GetChildAt

C++
TSharedPtr<MWidget> GetChildAt(int32_t index) const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from Miri/Widgets/MToolbar.h via miri.json · Dec 5, 2026Version 1.1.0