Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Application > API/Runtime/Slate/Framework/Application/FSlateApplication
- FSlateApplicationBase::SetAllUserFocusAllowingDescendantFocus()
- FSlateApplication::SetAllUserFocusAllowingDescendantFocus()
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 void SetAllUserFocusAllowingDescendantFocus
&40;
const FWidgetPath & InFocusPath,
const EFocusCause InCause
&41;
Remarks
Sets the focus for all users to the specified widget unless that user is focused on a descendant. The widget must be allowed to receive focus.
Parameters
| Name | Description |
|---|---|
| InWidget | WidgetPath to the Widget to being focused. |
| InCause | The reason that focus is changing. |