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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback