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

#include <SEditableTextBlock.h>

+ Inheritance diagram for FEditableTextBlock:

Public Member Functions

 FEditableTextBlock (const FText &InLabel, const FText &InToolTip, const FSlateIcon &InIcon, const TAttribute< FText > &InTextAttribute, bool bInReadOnly, const FOnTextCommitted &InOnTextCommitted, const FOnTextChanged &InOnTextChanged, const FOnVerifyTextChanged &InOnVerifyTextChanged=FOnVerifyTextChanged())
 
virtual bool HasIcon () const override
 
- Public Member Functions inherited from FMultiBlock
 FMultiBlock (const TSharedPtr< const FUICommandInfo > InCommand, TSharedPtr< const FUICommandList > InCommandList, FName InExtensionHook=NAME_None, EMultiBlockType InType=EMultiBlockType::None, bool bInIsPartOfHeading=false)
 
 FMultiBlock (const FUIAction &InAction, FName InExtensionHook=NAME_None, EMultiBlockType InType=EMultiBlockType::None, bool bInIsPartOfHeading=false, TSharedPtr< const FUICommandList > InCommandList=nullptr)
 
 FMultiBlock (const FMultiBlockParams &InMultiBlockParams)
 
virtual ~FMultiBlock ()
 
TSharedPtr< const FUICommandListGetActionList () const
 
TSharedPtr< const FUICommandInfoGetAction () const
 
const FUIActionGetDirectActions () const
 
virtual void CreateMenuEntry (class FMenuBuilder &MenuBuilder) const
 
virtual bool IsGroupStartBlock () const
 
virtual bool IsGroupEndBlock () const
 
void SetTutorialHighlightName (FName InTutorialName)
 
FName GetTutorialHighlightName () const
 
void SetStyleNameOverride (FName InStyleNameOverride)
 
FName GetStyleNameOverride () const
 
SLATE_API TSharedRef< class IMultiBlockBaseWidgetMakeWidget (TSharedRef< class SMultiBoxWidget > InOwnerMultiBoxWidget, EMultiBlockLocation::Type InLocation, bool bSectionContainsIcons, TSharedPtr< SWidget > OptionsBlockWidget) const
 
const EMultiBlockType GetType () const
 
bool IsSeparator () const
 
bool IsPartOfHeading () const
 
SLATE_API void SetSearchable (bool bSearchable)
 
SLATE_API bool GetSearchable () const
 
FName GetExtensionHook () const
 
TAttribute< EVisibilityGetVisibilityOverride () const
 
void SetVisibilityOverride (TAttribute< EVisibility > InVisibilityOverride)
 
const TAttribute< FMenuEntryResizeParams > & GetResizeParams () const
 
void SetResizeParams (const TAttribute< FMenuEntryResizeParams > &InResizeParams)
 
- Public Member Functions inherited from TSharedFromThis< FMultiBlock >
TSharedRef< FMultiBlock, Mode > AsShared ()
 
TSharedRef< FMultiBlock const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FMultiBlock, Mode > AsWeak ()
 
TWeakPtr< FMultiBlock const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Friends

class SEditableTextBlock
 

Additional Inherited Members

- Protected Member Functions inherited from TSharedFromThis< FMultiBlock >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FMultiBlock >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

Editable text block

Constructor & Destructor Documentation

◆ FEditableTextBlock()

FEditableTextBlock::FEditableTextBlock ( const FText InLabel,
const FText InToolTip,
const FSlateIcon InIcon,
const TAttribute< FText > &  InTextAttribute,
bool  bInReadOnly,
const FOnTextCommitted InOnTextCommitted,
const FOnTextChanged InOnTextChanged,
const FOnVerifyTextChanged InOnVerifyTextChanged = FOnVerifyTextChanged() 
)

Constructor

Parameters
InLabelThe label to display in the menu
InToolTipThe tool tip to display when the menu entry is hovered over
InIconThe icon to display to the left of the label
InTextAttributeThe text string we're editing (often, a delegate will be bound to the attribute)
bInReadOnlyWhether or not the text block should be read only
InOnTextCommittedCalled when the user commits their change to the editable text control
InOnTextChangedCalled when the text is changed interactively
InOnVerifyTextChangedCalled to verify when the text is changed interactively

Member Function Documentation

◆ HasIcon()

bool FEditableTextBlock::HasIcon ( ) const
overridevirtual

FMultiBlock interface

Reimplemented from FMultiBlock.

Friends And Related Symbol Documentation

◆ SEditableTextBlock

friend class SEditableTextBlock
friend

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