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

#include <TabCommands.h>

+ Inheritance diagram for FTabCommands:

Public Member Functions

 FTabCommands ()
 
virtual ~FTabCommands ()
 
virtual SLATE_API void RegisterCommands () override
 
- Public Member Functions inherited from FBindingContext
 FBindingContext (const FName InContextName, const FText &InContextDesc, const FName InContextParent, const FName InStyleSetName)
 
 FBindingContext (const FBindingContext &)=default
 
 FBindingContext (FBindingContext &&)=default
 
FBindingContextoperator= (const FBindingContext &)=default
 
FBindingContextoperator= (FBindingContext &&)=default
 
SLATE_API FUICommandInfoDecl NewCommand (const FName InCommandName, const FText &InCommandLabel, const FText &InCommandDesc)
 
FName GetContextName () const
 
FName GetContextParent () const
 
FName GetStyleSetName () const
 
const FTextGetContextDesc () const
 
SLATE_API void AddBundle (const FName Name, const FText &Desc)
 
SLATE_API const FTextGetBundleLabel (const FName Name)
 
bool operator== (const FBindingContext &Other) const
 
- Public Member Functions inherited from TSharedFromThis< FBindingContext >
TSharedRef< FBindingContext, Mode > AsShared ()
 
TSharedRef< FBindingContext const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FBindingContext, Mode > AsWeak ()
 
TWeakPtr< FBindingContext 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
 

Public Attributes

TSharedPtr< FUICommandInfoCloseMajorTab
 
TSharedPtr< FUICommandInfoCloseMinorTab
 
TSharedPtr< FUICommandInfoCloseFocusedTab
 

Additional Inherited Members

- Static Public Member Functions inherited from TCommands< FTabCommands >
static void Register ()
 
static bool IsRegistered ()
 
static FTabCommandsGet ()
 
static void Unregister ()
 
static const FBindingContextGetContext ()
 
- Static Public Attributes inherited from FBindingContext
static SLATE_API FOnBindingContextChanged CommandsChanged
 
- Protected Member Functions inherited from TCommands< FTabCommands >
 TCommands (const FName InContextName, const FText &InContextDesc, const FName InContextParent, const FName InStyleSetName)
 
virtual ~TCommands ()
 
- Protected Member Functions inherited from TSharedFromThis< FBindingContext >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TCommands< FTabCommands >
static TWeakPtr< FTabCommands > & GetInstance ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FBindingContext >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Constructor & Destructor Documentation

◆ FTabCommands()

FTabCommands::FTabCommands ( )
inline

◆ ~FTabCommands()

virtual FTabCommands::~FTabCommands ( )
inlinevirtual

Member Function Documentation

◆ RegisterCommands()

void FTabCommands::RegisterCommands ( )
overridevirtual

Pure virtual to override; describe and instantiate the commands in here by using the UI COMMAND macro.

Implements TCommands< FTabCommands >.

Member Data Documentation

◆ CloseFocusedTab

TSharedPtr<FUICommandInfo> FTabCommands::CloseFocusedTab

◆ CloseMajorTab

TSharedPtr<FUICommandInfo> FTabCommands::CloseMajorTab

◆ CloseMinorTab

TSharedPtr<FUICommandInfo> FTabCommands::CloseMinorTab

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