FSlateAccessibleComboBox

An accessible implementation of [SComboBox](API\Runtime\Slate\Widgets\Input\SComboBox) to expose to platform accessibility APIs.

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateAccessibleWidget

IAccessibleProperty

SComboBox::FSlateAccessibleComboBox

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SComboBox.h

Include

#include "Widgets/Input/SComboBox.h"

Syntax

class FSlateAccessibleComboBox :
    public FSlateAccessibleWidget,
    public IAccessibleProperty

Remarks

An accessible implementation of SComboBox to expose to platform accessibility APIs. We inherit from IAccessibleProperty as Windows will use the interface to read out the value associated with the combo box. Convenient place to return the value of the currently selected option. For subclasses of SComboBox, inherit and override the necessary functions

Constructors

Name Description

Public function

FSlateAccessibleComboBox

(
    TWeakPtr< SWidget > InWidget
)

Functions

Overridden from IAccessibleProperty

Name Description

Public function Virtual Const

FString

 

GetValue()

IAccessibleProperty.

Public function Virtual Const

FVariant

 

GetValueAsVariant()

The current value stored by the widget as a FVariant.

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