UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SlateWrapperTypes.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Misc/Attribute.h"
#include "Input/Reply.h"
#include "Widgets/Input/IVirtualKeyboardEntry.h"
#include "SlateWrapperTypes.generated.h"

Go to the source code of this file.

Classes

class  USlateAccessibleWidgetData
 
struct  FEventReply
 
struct  FSlateChildSize
 

Namespaces

namespace  ESlateSizeRule
 
namespace  EVirtualKeyboardType
 

Macros

#define BIND_UOBJECT_ATTRIBUTE(Type, Function)    TAttribute<Type>::Create( TAttribute<Type>::FGetter::CreateUObject( this, &ThisClass::Function ) )
 
#define BIND_UOBJECT_DELEGATE(Type, Function)    Type::CreateUObject( this, &ThisClass::Function )
 

Enumerations

enum class  ESlateVisibility : uint8 {
  Visible , Collapsed , Hidden , UMETA =(DisplayName = "Not Hit-Testable (Self & All Children)") ,
  UMETA =(DisplayName = "Not Hit-Testable (Self Only)")
}
 
enum class  ESlateAccessibleBehavior : uint8 {
  NotAccessible , Auto , Summary , Custom ,
  ToolTip
}
 
enum  ESlateSizeRule::Type : int { ESlateSizeRule::Automatic , ESlateSizeRule::Fill }
 
enum  EVirtualKeyboardType::Type : int {
  EVirtualKeyboardType::Default , EVirtualKeyboardType::Number , EVirtualKeyboardType::Web , EVirtualKeyboardType::Email ,
  EVirtualKeyboardType::Password , EVirtualKeyboardType::AlphaNumeric
}
 

Functions

EKeyboardType EVirtualKeyboardType::AsKeyboardType (Type InType)
 

Macro Definition Documentation

◆ BIND_UOBJECT_ATTRIBUTE

#define BIND_UOBJECT_ATTRIBUTE (   Type,
  Function 
)     TAttribute<Type>::Create( TAttribute<Type>::FGetter::CreateUObject( this, &ThisClass::Function ) )

◆ BIND_UOBJECT_DELEGATE

#define BIND_UOBJECT_DELEGATE (   Type,
  Function 
)     Type::CreateUObject( this, &ThisClass::Function )

Enumeration Type Documentation

◆ ESlateAccessibleBehavior

Whether a widget should be included in accessibility, and if so, how its text should be retrieved.

Enumerator
NotAccessible 

Not accessible.

Auto 

Accessible, first checking to see if there's any custom default text assigned for widgets of this type. If not, then it will attempt to use the alternate behavior (ie AccessibleSummaryBehavior instead of AccessibleBehavior) and return that value instead. This acts as a reference so that you only need to set one value for both of them to return the same thing.

Summary 

Accessible, and traverse all child widgets and concat their AccessibleSummaryText together.

Custom 

Accessible, and retrieve manually-assigned text from a TAttribute.

ToolTip 

Accessible, and use the tooltip's accessible text.

◆ ESlateVisibility

enum class ESlateVisibility : uint8
strong

Is an entity visible?

Enumerator
Visible 

Visible and hit-testable (can interact with cursor). Default value.

Collapsed 

Not visible and takes up no space in the layout (obviously not hit-testable).

Hidden 

Not visible but occupies layout space (obviously not hit-testable).

UMETA 

Visible but not hit-testable (cannot interact with cursor) and children in the hierarchy (if any) are also not hit-testable.

UMETA 

Visible but not hit-testable (cannot interact with cursor) and doesn't affect hit-testing on children (if any).