Navigation
API > API/Runtime > API/Runtime/SlateCore
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.
| Name | FWindowActivateEvent |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
| Include Path | #include "Input/Events.h" |
Syntax
class FWindowActivateEvent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWindowActivateEvent
(
EActivationType InActivationType, |
Input/Events.h |
Enums
Public
| Name | Remarks |
|---|---|
| EActivationType |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActivationType | EActivationType | Input/Events.h | ||
| AffectedWindow | TSharedRef< SWindow > | Input/Events.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EActivationType GetActivationType() |
Describes what actually happened to the window (e.g. Activated, Deactivated, Activated by a mouse click) | Input/Events.h | |
TSharedRef< SWindow > GetAffectedWindow() |
The window that this activation/deactivation happened to | Input/Events.h | |
void SetActivationType
(
EActivationType InActivationType |
Sets what actually happened to the window (e.g. Activated, Deactivated, Activated by a mouse click) | Input/Events.h |