FMenuBuilder::FMenuBuilder

Constructor

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/MultiBox/MultiBoxBuilder.h"

Syntax

FMenuBuilder
(
    const bool bInShouldCloseWindowAfterMenuSelection,
    TSharedPtr< const FUICommandList > InCommandList,
    TSharedPtr< FExtender > InExtender,
    const bool bCloseSelfOnly,
    const ISlateStyle * InStyleSet,
    bool bInSearchable,
    FName InMenuName
)

Remarks

Constructor

Parameters

Parameter

Description

bInShouldCloseWindowAfterMenuSelection

Sets whether or not the window that contains this multibox should be destroyed after the user clicks on a menu item in this box

InCommandList

The action list that maps command infos to delegates that should be called for each command associated with a multiblock widget

bInCloseSelfOnly

True if clicking on a menu entry closes itself only and its children but not the entire stack

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