SMenuAnchor::ShouldOpenDueToClick

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

bool ShouldOpenDueToClick() const

Returns

true if we should open the menu due to a click. Sometimes we should not, if the same MouseDownEvent that just closed the menu is about to re-open it because it happens to land on the button.

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