FTabManager::SetMenuMultiBox

Set the multi-box to use for generating a global menu bar.

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Docking/TabManager.h

Include

#include "Framework/Docking/TabManager.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Docking/TabManager.cpp

Syntax

void SetMenuMultiBox
(
    const TSharedPtr< FMultiBox > NewMenuMutliBox,
    const TSharedPtr< SWidget > MenuWidget
)

Remarks

Set the multi-box to use for generating a global menu bar. The implementation is platform and setting specific On Mac the menu bar appears globally at the top of the desktop in all cases regardless of whether or not SetAllowWindowMenuBar is called. On other desktop platforms the menu appears at the top of the window this tab manager is a part of only if SetAllowWindowMenuBar(true) is called.

Parameters

Parameter

Description

NewMenuMutliBox

The multi-box to generate the global menu bar from.

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