| FSlateApplicationBase::HasUserFocus()
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
Include |
#include "Framework/Application/SlateApplication.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
virtual TOptional< EFocusCause > HasUserFocus
(
const TSharedPtr< const SWidget > Widget,
int32 UserIndex
) const
Gets whether or not a particular widget has the specified users focus, and if so the type of focus.
The optional will be set with the focus cause, if unset this widget doesn't have focus.