SMenuAnchor::SetIsOpen

Open or close the popup

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SMenuAnchor.h

Include

#include "Widgets/Input/SMenuAnchor.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Input/SMenuAnchor.cpp

Syntax

virtual void SetIsOpen
(
    bool InIsOpen,
    const bool bFocusMenu,
    const int32 FocusUserIndex
)

Remarks

Open or close the popup

Parameters

Parameter

Description

InIsOpen

If true, open the popup. Otherwise close it.

bFocusMenu

Should we focus the popup as soon as it opens?

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