unreal.SlateAccessibleBehavior

class unreal.SlateAccessibleBehavior

Bases: EnumBase

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

C++ Source:

  • Module: UMG

  • File: SlateWrapperTypes.h

AUTO: SlateAccessibleBehavior

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.

Type:

1

CUSTOM: SlateAccessibleBehavior

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

Type:

3

NOT_ACCESSIBLE: SlateAccessibleBehavior

Not accessible.

Type:

0

SUMMARY: SlateAccessibleBehavior

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

Type:

2

TOOL_TIP: SlateAccessibleBehavior

Accessible, and use the tooltip’s accessible text.

Type:

4