FSlateApplication::SetExitRequestedHandler

Assign a delegate to be called when this application is requesting an exit (e.g. when the last window is closed).

Windows
MacOS
Linux

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

void SetExitRequestedHandler
(
    const FSimpleDelegate & OnExitRequestedHandler
)

Remarks

Assign a delegate to be called when this application is requesting an exit (e.g. when the last window is closed).

Parameters

Parameter

Description

OnExitRequestHandler

Function to execute when the application wants to quit

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