FPopupSupport

Allow widgets to find out when someone clicked outside them. Currently needed by MenuAnchros.

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

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
)

NOTE: 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