Navigation
API > API/Runtime > API/Runtime/Slate
Manages the state for an active context menu
| Name | FActiveTextEditContextMenu |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Text/ISlateEditableTextWidget.h |
| Include Path | #include "Widgets/Text/ISlateEditableTextWidget.h" |
Syntax
class FActiveTextEditContextMenu
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActiveTextEditContextMenu() |
Widgets/Text/ISlateEditableTextWidget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveMenu | TWeakPtr< IMenu > | Handle to the active context menu (if any) | Widgets/Text/ISlateEditableTextWidget.h | |
| bIsPendingSummon | bool | True if we are pending the summon of a context menu, but don't yet have an active window pointer | Widgets/Text/ISlateEditableTextWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Dismiss() |
Called to dismiss the active context menu | Widgets/Text/ISlateEditableTextWidget.h | |
bool IsValid() |
Check to see whether this context is valid (either pending or active) | Widgets/Text/ISlateEditableTextWidget.h | |
void PrepareToSummon() |
Called before you summon your context menu | Widgets/Text/ISlateEditableTextWidget.h | |
void Reset() |
Called to reset the active context menu state | Widgets/Text/ISlateEditableTextWidget.h | |
void SummonFailed() |
Called if your context menu summon fails | Widgets/Text/ISlateEditableTextWidget.h | |
void SummonSucceeded
(
const TSharedRef< IMenu >& InMenu |
Called when you've successfully summoned your context menu | Widgets/Text/ISlateEditableTextWidget.h |