UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWindowActivateEvent Class Reference

#include <Events.h>

Public Types

enum  EActivationType { EA_Activate , EA_ActivateByMouse , EA_Deactivate }
 

Public Member Functions

 FWindowActivateEvent (EActivationType InActivationType, TSharedRef< SWindow > InAffectedWindow)
 
EActivationType GetActivationType () const
 
void SetActivationType (EActivationType InActivationType)
 
TSharedRef< SWindowGetAffectedWindow () const
 

Detailed Description

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.

Member Enumeration Documentation

◆ EActivationType

Enumerator
EA_Activate 
EA_ActivateByMouse 
EA_Deactivate 

Constructor & Destructor Documentation

◆ FWindowActivateEvent()

FWindowActivateEvent::FWindowActivateEvent ( EActivationType  InActivationType,
TSharedRef< SWindow InAffectedWindow 
)
inline

Member Function Documentation

◆ GetActivationType()

EActivationType FWindowActivateEvent::GetActivationType ( ) const
inline

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

◆ GetAffectedWindow()

TSharedRef< SWindow > FWindowActivateEvent::GetAffectedWindow ( ) const
inline

The window that this activation/deactivation happened to

◆ SetActivationType()

void FWindowActivateEvent::SetActivationType ( EActivationType  InActivationType)
inline

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


The documentation for this class was generated from the following file: