class
MToolbar
- Module
- Miri
- Header
#include "Miri/Widgets/MToolbar.h"- Namespace
Miri
Public functions
| Returns | Name | Description |
|---|---|---|
MIRI_WIDGET_ARGS | ||
void | AddGroup | |
void | ClearGroups | |
int32_t | GetVisibleGroupCount | Groups shown after the last layout; the rest are in the overflow. |
int32_t | GetGroupCount | |
void | OpenOverflowMenu | Opens the overflow menu as a click on the chevron would. |
MiriVec2 | ComputeDesiredSize | |
void | ArrangeChildren | |
int32_t | OnPaint | |
int32_t | GetNumChildren | |
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() constGroups shown after the last layout; the rest are in the overflow.
GetGroupCount
C++
int32_t GetGroupCount() constOpenOverflowMenu
C++
void OpenOverflowMenu()Opens the overflow menu as a click on the chevron would.
ComputeDesiredSize
C++
MiriVec2 ComputeDesiredSize(float scale) const overrideArrangeChildren
C++
void ArrangeChildren(const CGeometry& geo) overrideOnPaint
C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const overrideGetNumChildren
C++
int32_t GetNumChildren() const overrideGetChildAt
C++
TSharedPtr<MWidget> GetChildAt(int32_t index) const overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Miri/Widgets/MToolbar.h via miri.json · Dec 5, 2026Version 1.1.0