morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::Accessibility Struct Reference

What assistive technology announces for a node. More...

#include <view.hpp>

Public Attributes

Prop< std::string > name
 The accessible name; empty leaves the widget's own text as its name.
std::string role
 The role, such as "heading"; empty leaves the kind's own role. Set once.

Detailed Description

What assistive technology announces for a node.

Definition at line 331 of file view.hpp.

Member Data Documentation

◆ name

Prop<std::string> morph::ui::Accessibility::name

The accessible name; empty leaves the widget's own text as its name.

Definition at line 333 of file view.hpp.

◆ role

std::string morph::ui::Accessibility::role

The role, such as "heading"; empty leaves the kind's own role. Set once.

Definition at line 335 of file view.hpp.


The documentation for this struct was generated from the following file: