UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UIAction.h File Reference
#include "CoreMinimal.h"
#include "Layout/Visibility.h"
#include "Styling/SlateTypes.h"

Go to the source code of this file.

Classes

struct  FUIAction
 
struct  IUIActionContextBase
 
struct  FUIActionContext
 

Enumerations

enum class  EUIActionRepeatMode { RepeatDisabled , RepeatEnabled }
 

Functions

 DECLARE_DELEGATE (FExecuteAction)
 
 DECLARE_DELEGATE_RetVal (bool, FCanExecuteAction)
 
 DECLARE_DELEGATE_RetVal (bool, FIsActionChecked)
 
 DECLARE_DELEGATE_RetVal (ECheckBoxState, FGetActionCheckState)
 
 DECLARE_DELEGATE_RetVal (bool, FIsActionButtonVisible)
 

Enumeration Type Documentation

◆ EUIActionRepeatMode

enum class EUIActionRepeatMode
strong

Enum controlling whether a given UI action can be repeated if the chord used to call it is held down

Enumerator
RepeatDisabled 
RepeatEnabled 

Function Documentation

◆ DECLARE_DELEGATE()

DECLARE_DELEGATE ( FExecuteAction  )

Defines FExecuteAction delegate interface

◆ DECLARE_DELEGATE_RetVal() [1/4]

DECLARE_DELEGATE_RetVal ( bool  ,
FCanExecuteAction   
)

Defines FCanExecuteAction delegate interface. Returns true when an action is able to execute.

◆ DECLARE_DELEGATE_RetVal() [2/4]

DECLARE_DELEGATE_RetVal ( bool  ,
FIsActionButtonVisible   
)

Defines FIsActionButtonVisible delegate interface. Returns true when UI buttons associated with the action should be visible.

◆ DECLARE_DELEGATE_RetVal() [3/4]

DECLARE_DELEGATE_RetVal ( bool  ,
FIsActionChecked   
)

Defines FIsActionChecked delegate interface. Returns true if the action is currently toggled on.

◆ DECLARE_DELEGATE_RetVal() [4/4]

DECLARE_DELEGATE_RetVal ( ECheckBoxState  ,
FGetActionCheckState   
)

Defines FGetActionCheckState delegate interface. Returns the ECheckBoxState for the action.