Navigation
API > API/Runtime > API/Runtime/Slate
Allow widgets to find out when someone clicked outside them. Currently needed by MenuAnchros.
| Name | FPopupSupport |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #include "Framework/Application/SlateApplication.h" |
Syntax
class FPopupSupport
Structs
| Name | Remarks |
|---|---|
| FClickSubscriber | A single subscription about clicks happening outside the widget. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClickZoneNotifications | TArray< FClickSubscriber > | List of subscriptions that want to be notified when the user clicks outside a certain widget. | Framework/Application/SlateApplication.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDelegateHandle RegisterClickNotification
(
const TSharedRef< SWidget >& NotifyWhenClickedOutsideMe, |
Register for a notification when the user clicks outside a specific widget. | Framework/Application/SlateApplication.h | |
void SendNotifications
(
const FWidgetPath& WidgetsUnderCursor |
Given a WidgetPath that was clicked, send notifications to any subscribers that were not under the mouse. | Framework/Application/SlateApplication.h | |
void UnregisterClickNotification
(
FDelegateHandle InHandle |
NOTE: Only necessary if notification no longer desired. | Framework/Application/SlateApplication.h |