Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Application > API/Runtime/SlateCore/Application/FSlateApplicationBase
- FSlateApplicationBase::HasUserFocus()
- FSlateApplication::HasUserFocus()
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h |
| Include | #include "Application/SlateApplicationBase.h" |
TOptional< EFocusCause > HasUserFocus
&40;
const TSharedPtr< const SWidget > Widget,
int32 UserIndex
&41; const
Remarks
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.