Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FSlateApplication
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool SetUserFocus
(
uint32 UserIndex, |
Sets specified user focus to the SWidget passed in. | Framework/Application/SlateApplication.h | |
virtual bool SetUserFocus
(
const uint32 InUserIndex, |
Framework/Application/SlateApplication.h | ||
bool SetUserFocus
(
FSlateUser& User, |
Framework/Application/SlateApplication.h |
SetUserFocus(uint32, const TSharedPtr< SWidget > &, EFocusCause)
Description
Sets specified user focus to the SWidget passed in.
| Name | SetUserFocus |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #include "Framework/Application/SlateApplication.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
bool SetUserFocus
(
uint32 UserIndex,
const TSharedPtr < SWidget > & WidgetToFocus,
EFocusCause ReasonFocusIsChanging
)
Parameters
| Name | Remarks |
|---|---|
| UserIndex | Index of the user to change focus for |
| WidgetToFocus | the widget to set focus to |
| ReasonFocusIsChanging | the contextual reason for the focus change |
SetUserFocus(const uint32, const FWidgetPath &, const EFocusCause)
| Name | SetUserFocus |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #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
)
SetUserFocus(FSlateUser &, const FWidgetPath &, const EFocusCause)
| Name | SetUserFocus |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #include "Framework/Application/SlateApplication.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
bool SetUserFocus
(
FSlateUser & User,
const FWidgetPath & InFocusPath,
const EFocusCause InCause
)