IAccessibleWindow::GetFocusedWidget

Retrieves the currently-focused widget, if it is accessible.

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

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

Include

#include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h"

Syntax

TSharedPtr< IAccessibleWidget > GetFocusedWidget() const

Remarks

Retrieves the currently-focused widget, if it is accessible.

Returns

The widget that has focus, or nullptr if the focused widget is not accessible.

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