FPopupSupport

A Delegate for querying whether source code access is possible Delegates for when modal windows open or close Delegate for when window action occurs (ClickedNonClientArea, Maximize, Restore, WindowMenu).

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/Application/SlateApplication.h"

Syntax

class FPopupSupport

Remarks

A Delegate for querying whether source code access is possible Delegates for when modal windows open or close Delegate for when window action occurs (ClickedNonClientArea, Maximize, Restore, WindowMenu). Return true if the OS layer should stop processing the action. Allow widgets to find out when someone clicked outside them. Currently needed by MenuAnchros.

Functions

Name Description

Public function

FDelegateHan...

 

RegisterClickNotification

(
    const TSharedRef< SWidget >& Notif...,
    const FOnClickedOutside& InNotific...
)

Register for a notification when the user clicks outside a specific widget.

Public function

void

 

SendNotifications

(
    const FWidgetPath& WidgetsUnderCur...
)

Given a WidgetPath that was clicked, send notifications to any subscribers that were not under the mouse.

Public function

void

 

UnregisterClickNotification

(
    FDelegateHandle InHandle
)

Only necessary if notification no longer desired.

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