FSlateApplication::RequestDestroyWindow

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

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::RequestDestroyWindow()

FSlateApplication::RequestDestroyWindow()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

virtual 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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss