UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPopupSupport Class Reference

#include <SlateApplication.h>

Public Member Functions

SLATE_API void SendNotifications (const FWidgetPath &WidgetsUnderCursor)
 
SLATE_API FDelegateHandle RegisterClickNotification (const TSharedRef< SWidget > &NotifyWhenClickedOutsideMe, const FOnClickedOutside &InNotification)
 
SLATE_API void UnregisterClickNotification (FDelegateHandle InHandle)
 

Detailed Description

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

Member Function Documentation

◆ RegisterClickNotification()

FDelegateHandle FPopupSupport::RegisterClickNotification ( const TSharedRef< SWidget > &  NotifyWhenClickedOutsideMe,
const FOnClickedOutside InNotification 
)

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

Parameters
NotifyWhenClickedOutsideMeWhen the user clicks outside this widget, fire a notification.
InNotificationThe notification to invoke.

◆ SendNotifications()

void FPopupSupport::SendNotifications ( const FWidgetPath WidgetsUnderCursor)

Given a WidgetPath that was clicked, send notifications to any subscribers that were not under the mouse. i.e. Send the "Someone clicked outside me" notifications.

◆ UnregisterClickNotification()

void FPopupSupport::UnregisterClickNotification ( FDelegateHandle  InHandle)

NOTE: Only necessary if notification no longer desired. Stale notifications are cleaned up automatically.

Unregister the notification because it is no longer desired.


The documentation for this class was generated from the following files: