IAccessibleWidget

Provides the core set of accessible data that is necessary in order for widget traversal and TTS to be implemented.

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

IAccessibleWidget

References

Module

ApplicationCore

Header

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

Include

#include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h"

Syntax

class IAccessibleWidget : public TSharedFromThis< IAccessibleWidget >

Remarks

Provides the core set of accessible data that is necessary in order for widget traversal and TTS to be implemented. In order to support functionality beyond this, subclasses must implement the other accessible interfaces and then override the As*() functions.

Constructors

Name Description

Public function

IAccessibleWidget()

Destructors

Name Description

Public function Virtual

~IAccessibleWidget()

Functions

Name Description

Public function Virtual

IAccessibleA...

 

AsActivatable()

Attempt to cast this to an IAccessibleActivatable

Public function Virtual

IAccessibleP...

 

AsProperty()

Attempt to cast this to an IAccessibleProperty

Public function Virtual

IAccessibleT...

 

AsText()

Attempt to cast this to an IAccessibleText

Public function Virtual

IAccessibleW...

 

AsWindow()

Attempt to cast this to an IAccessibleWindow

Public function Const

FBox2D

 

GetBounds()

Retrieving the bounding rect in absolute coordinates for this widget.

Public function

TSharedPtr< ...

 

GetChildAt

(
    int32 Index
)

Retrieves the accessible child widget at a certain index.

Public function Const

FString

 

GetClassName()

The name of the underlying class that this accessible widget represents.

Public function Const

FString

 

GetHelpText()

Additional information a user may need in order to effectively interact or use the widget, such as a tooltip.

Public function Const

AccessibleWi...

 

GetId()

Get an application-unique identifier for this widget.

Public function

TSharedPtr< ...

 

GetNextSibling()

Retrieves the widget after this one in the parent's list of children.

Public function

int32

 

GetNumberOfChildren()

How many accessible children this widget has.

Public function

TSharedPtr< ...

 

GetParent()

Get the accessible parent of this widget.

Public function

TSharedPtr< ...

 

GetPreviousSibling()

Retrieves the widget before this one in the parent's list of children.

Public function Const

FString

 

GetWidgetName()

The name of the widget to report to the platform layer.

Public function Const

EAccessibleW...

 

GetWidgetType()

What type of accessible widget the underlying widget should be treated as.

Public function Const

TSharedPtr< ...

 

GetWindow()

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

Public function Const

bool

 

HasFocus()

Whether the widget has keyboard focus or not.

Public function Const

bool

 

IsEnabled()

Whether the widget is enabled and can be interacted with.

Public function Const

bool

 

IsHidden()

Whether the widget is being rendered on screen or not.

Public function Const

bool

 

IsValid()

Whether or not the underlying widget backing this interface still exists

Public function

void

 

SetFocus()

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

Public function Const

bool

 

SupportsFocus()

Whether the widget supports keyboard focus or not.

Constants

Name

Description

InvalidAccessibleWidgetId

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