Navigation
API > API/Runtime > API/Runtime/SlateCore
FFocusEvent is used when notifying widgets about keyboard focus changes It is passed to event handlers dealing with keyboard focus
| Name | FFocusEvent |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
| Include Path | #include "Input/Events.h" |
Syntax
USTRUCT (BlueprintType )
struct FFocusEvent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFocusEvent () |
UStruct Constructor. Not meant for normal usage. | Input/Events.h | |
FFocusEvent
(
const EFocusCause InCause, |
Constructor. Events are immutable once constructed. | Input/Events.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Cause | EFocusCause | The cause of the focus change | Input/Events.h | |
| UserIndex | uint32 | User that is changing focus | Input/Events.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EFocusCause GetCause() |
Queries the reason for the focus change | Input/Events.h | |
uint32 GetUser() |
Queries the user that is changing focus | Input/Events.h |