IAccessibleWidget::GetWindow

Returns the window at the top of this widget's hierarchy.

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 > GetWindow() const

Remarks

Returns the window at the top of this widget's hierarchy. This function may return itself for accessible windows, and could return nullptr in cases where the widget is not currently part of a hierarchy.

Returns

The root window in this widget's widget tree, or nullptr if there is no window.

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