FSlateApplicationBase::RequestDestroyWindow

Destroying windows has implications on some OSs (e.g. destroying Win32 HWNDs can cause events to be lost).

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateApplicationBase::RequestDestroyWindow()

FSlateApplication::RequestDestroyWindow()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h

Include

#include "Application/SlateApplicationBase.h"

Syntax

void RequestDestroyWindow
(
    TSharedRef< SWindow > WindowToDestroy
)

Remarks

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.

Parameters

Parameter

Description

WindowToDestroy

The window to queue for destruction.