FFocusEvent

[FFocusEvent](API\Runtime\SlateCore\Input\FFocusEvent) is used when notifying widgets about keyboard focus changes It is passed to event handlers dealing with keyboard focus

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/Events.h

Include

#include "Input/Events.h"

Syntax

struct FFocusEvent

Remarks

FFocusEvent is used when notifying widgets about keyboard focus changes It is passed to event handlers dealing with keyboard focus

Constructors

Name Description

Public function

FFocusEvent()

UStruct Constructor. Not meant for normal usage.

Public function

FFocusEvent

(
    const EFocusCause InCause,
    uint32 InUserIndex
)

  1. Events are immutable once constructed.

Functions

Name Description

Public function Const

EFocusCause

 

GetCause()

Queries the reason for the focus change

Public function Const

uint32

 

GetUser()

Queries the user that is changing focus

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss