FMenuBuilder::AddWrapperSubMenu

These classes need access to the [AddWrapperSubMenu()](API\Runtime\Slate\Framework\MultiBox\FMenuBuilder\AddWrapperSubMenu\1) methods friend class FWidgetBlock; friend class [FToolBarComboButtonBlock](API\Runtime\Slate\Framework\MultiBox\FToolBarComboButtonBlock); Adds a sub-menu which is a menu within a menu

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h

Include

#include "Framework/MultiBox/MultiBoxBuilder.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp

Syntax

void AddWrapperSubMenu
(
    const FText & InMenuLabel,
    const FText & InToolTip,
    const FOnGetContent & InSubMenu,
    const FSlateIcon & InIcon
)

Remarks

These classes need access to the AddWrapperSubMenu() methods friend class FWidgetBlock; friend class FToolBarComboButtonBlock; Adds a sub-menu which is a menu within a menu

Parameters

Parameter

Description

InMenuLabel

The text that should be shown for the menu

InToolTip

The tooltip that should be shown when the menu is hovered over

InSubMenu

Sub-Menu object which creates the sub-menu

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss