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

#include <SButtonRowBlock.h>

+ Inheritance diagram for FButtonRowBlock:

Public Member Functions

 FButtonRowBlock (const TSharedPtr< const FUICommandInfo > InCommand, TSharedPtr< const FUICommandList > InCommandList, const TAttribute< FText > &InLabelOverride=TAttribute< FText >(), const TAttribute< FText > &InToolTipOverride=TAttribute< FText >(), const FSlateIcon &InIconOverride=FSlateIcon())
 
 FButtonRowBlock (const TAttribute< FText > &InLabel, const TAttribute< FText > &InToolTip, const FSlateIcon &InIcon, const FUIAction &UIAction, const EUserInterfaceActionType InUserInterfaceActionType)
 
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 SButtonRowBlock
 

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

Button Row MultiBlock

Constructor & Destructor Documentation

◆ FButtonRowBlock() [1/2]

FButtonRowBlock::FButtonRowBlock ( const TSharedPtr< const FUICommandInfo InCommand,
TSharedPtr< const FUICommandList InCommandList,
const TAttribute< FText > &  InLabelOverride = TAttribute<FText>(),
const TAttribute< FText > &  InToolTipOverride = TAttribute<FText>(),
const FSlateIcon InIconOverride = FSlateIcon() 
)

Constructor

Parameters
InCommandThe command associated with this tool bar button
InCommandListThe list of commands that are mapped to delegates so that we know what to execute for this button
InLabelOverrideOptional label override. If omitted, then the action's label will be used instead.
InToolTipOverrideOptional tool tip override. If omitted, then the action's label will be used instead.
InOverrideOptional icon to use for the tool bar image. If omitted, then the action's icon will be used instead.

◆ FButtonRowBlock() [2/2]

FButtonRowBlock::FButtonRowBlock ( const TAttribute< FText > &  InLabel,
const TAttribute< FText > &  InToolTip,
const FSlateIcon InIcon,
const FUIAction UIAction,
const EUserInterfaceActionType  InUserInterfaceActionType 
)

Constructor

Parameters
InLabelThe button label to display
InToolTipThe tooltip for the button
InIconThe icon to use
UIActionAction to execute when the button is clicked or when state should be checked
UserInterfaceActionTypeThe style of button to display

Member Function Documentation

◆ HasIcon()

bool FButtonRowBlock::HasIcon ( ) const
overridevirtual

FMultiBlock interface

Reimplemented from FMultiBlock.

Friends And Related Symbol Documentation

◆ SButtonRowBlock

friend class SButtonRowBlock
friend

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