SMenuOwner::GetOpenMenu

For menu bar or sub-menu widgets, returns the currently open menu, if there is one open

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SMenuOwner.h

Include

#include "Widgets/Layout/SMenuOwner.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Layout/SMenuOwner.cpp

Syntax

TSharedPtr< const SMenuAnchor > GetOpenMenu() const

Remarks

For menu bar or sub-menu widgets, returns the currently open menu, if there is one open

Returns

Menu anchor, or null pointer

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