Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Application > API/Runtime/Slate/Framework/Application/FSlateApplication > API/Runtime/Slate/Framework/Application/FSlateApplication/SetUserFocus
- FSlateApplicationBase::SetUserFocus()
- FSlateApplication::SetUserFocus()
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 bool SetUserFocus
(
const uint32 InUserIndex,
const FWidgetPath & InFocusPath,
const EFocusCause InCause
)
Remarks
Sets user focus to the specified widget. The widget must be allowed to receive focus.