Choose your operating system:
Windows
macOS
Linux
| FSlateApplicationBase::HasAnyUserFocus()
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h |
Include |
#include "Application/SlateApplicationBase.h" |
TOptional< EFocusCause > HasAnyUserFocus
(
const TSharedPtr< const SWidget > Widget
) const
Gets whether or not a particular widget has any users focus, and if so the type of focus (first one found).
The optional will be set with the focus cause, if unset this widget doesn't have focus.