SWindow::NotifyWindowBeingDestroyed

Calls the OnWindowClosed delegate when this window is about to be closed

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

void NotifyWindowBeingDestroyed()

Remarks

Calls the OnWindowClosed delegate when this window is about to be closed

Calls OnWindowClosed delegate and WindowClosedEvent when this window is about to be closed