Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateApplicationBase
Description
Destroying windows has implications on some OSs (e.g. destroying Win32 HWNDs can cause events to be lost).
Slate strictly controls when windows are destroyed.
| Name | RequestDestroyWindow |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h |
| Include Path | #include "Application/SlateApplicationBase.h" |
void RequestDestroyWindow
(
TSharedRef < SWindow > WindowToDestroy
)
Parameters
| Name | Remarks |
|---|---|
| WindowToDestroy | The window to queue for destruction. |