Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateApplicationBase
Description
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.
| Name | SetAllUserFocusAllowingDescendantFocus |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h |
| Include Path | #include "Application/SlateApplicationBase.h" |
void SetAllUserFocusAllowingDescendantFocus
(
const FWidgetPath & InFocusPath,
const EFocusCause InCause
)
Parameters
| Name | Remarks |
|---|---|
| InWidget | WidgetPath to the Widget to being focused. |
| InCause | The reason that focus is changing. |