SWindow::SetOnWindowClosed

Sets the delegate to execute right before the window is 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 SetOnWindowClosed
(
    const FOnWindowClosed & InDelegate
)

Remarks

Sets the delegate to execute right before the window is closed