Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Application > API/Runtime/Slate/Framework/Application/FSlateApplication
- FSlateApplicationBase::HasAnyUserFocus()
- FSlateApplication::HasAnyUserFocus()
References
| Module | Slate |
| 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 > HasAnyUserFocus
&40;
const TSharedPtr< const SWidget > Widget
&41; const
Remarks
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.