SWidget::SetAccessibleBehavior

Set a new accessible behavior, and if the behavior is custom, new accessible text to go along with it.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Include

#include "Widgets/SWidget.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp

Syntax

void SetAccessibleBehavior
(
    EAccessibleBehavior InBehavior,
    const TAttribute< FText > & InText,
    EAccessibleType AccessibleType
)

Remarks

Set a new accessible behavior, and if the behavior is custom, new accessible text to go along with it.

Parameters

Parameter

Description

InBehavior

The new behavior for the widget. If the new behavior is custom, InText should also be set.

InText, If

the new behavior is custom, this will be the custom text assigned to the widget.

AccessibleType

Whether the widget is being accessed directly or through a summary query.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss