IAccessibleWidget::SetFocus

Assign keyboard/gamepad focus to this widget, if it supports it.

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/Accessibility/GenericAccessibleInterfaces.h

Include

#include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h"

Syntax

void SetFocus()

Remarks

Assign keyboard/gamepad focus to this widget, if it supports it. If not, focus should not be affected.

For widgets that support accessibility focus but not keyboard/gamepad focus, this should NOT repreplace the widget with accessibility focus.

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