Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/FGenericAccessibleUser
Description
Sets which accessible widget the accessible user is currently focused on.
Note: This function is meant to directly set the widget an accessible user is focused on, bypassing all of the focus change accessible events. This should only be used by FGenericAccessibleMessageHandler and its subclasses to update the the accessible focus for an accessible user. Most of the time, you want to use IAccessibleWidget::SetUserFocus to request an accessible widget be focused on by a user. It raises the appropriate accessible events so listeners for accessible events can do the appropriate event handling for the focus change event.
| Name | SetFocusedAccessibleWidget |
| Type | function |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/Accessibility/GenericAccessibleInterfaces.h |
| Include Path | #include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h" |
bool SetFocusedAccessibleWidget
(
const TSharedRef < IAccessibleWidget > & InWidget
)
True if the passed in widget was successfully set. Else returns false.
Parameters
| Name | Remarks |
|---|---|
| InWidget | The widget this accessible user will be focused on. |