Choose your operating system:
Windows
macOS
Linux
| FSlateApplicationBase::SetAllUserFocus()
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h |
Include |
#include "Application/SlateApplicationBase.h" |
void SetAllUserFocus
(
const FWidgetPath & InFocusPath,
const EFocusCause InCause
)
Sets the focus for all users to the specified widget. The widget must be allowed to receive focus.
Parameter |
Description |
---|---|
InWidget |
WidgetPath to the Widget to being focused. |
InCause |
The reason that focus is changing. |