FWindowActivateEvent

[FWindowActivateEvent](API\Runtime\SlateCore\Input\FWindowActivateEvent) describes a window being activated or deactivated.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Input/Events.h"

Syntax

class FWindowActivateEvent

Remarks

FWindowActivateEvent describes a window being activated or deactivated. (i.e. brought to the foreground or moved to the background) This event is only passed to top level windows; most widgets are incapable of receiving this event.

Constructors

Name Description

Public function

FWindowActivateEvent

(
    EActivationType InActivationType,
    TSharedRef< SWindow > InAffectedWin...
)

Functions

Name Description

Public function Const

EActivationT...

 

GetActivationType()

Describes what actually happened to the window (e.g. Activated, Deactivated, Activated by a mouse click)

Public function Const

TSharedRef< ...

 

GetAffectedWindow()

The window that this activation/deactivation happened to

Enums

Name

Description

Public enum

EActivationType