Crate atspi_common

source ·
Expand description

§atspi-common

Defines all common types, events, and data structures for atspi-proxies and atspi-connection. Since atspi-proxies and atspi-connection are downstream crates, the documentation can not link to it directly. Any type ending in *Proxy is in atspi-proxies.

Re-exports§

Modules§

Structs§

  • Describes a selection of text, including selections across object boundaries. For example, selecting from the beginning of a paragraph to half way through a link would cause the start and end object references to be different.

Enums§

  • Enumeration used by TextProxy to indicate how to treat characters intersecting bounding boxes.
  • The coordinate type encodes the frame of reference.
  • Level of granularity to get text of, in relation to a cursor position.
  • Indicates relative stacking order of a atspi_proxies::component::ComponentProxy with respect to the onscreen visual representation of the UI.
  • Enumeration used to indicate a type of live region and how assertive it should be in terms of speaking notifications. Currently, this is only used for Announcement events, but it may be used for additional purposes in the future. The argument in the Announcement event is named politeness.
  • Describes a relationship between one object and another.
  • An accessible object role. To think of it in terms of HTML, any semantic element likely has a corollary in this enum. For example: <button>, <input>, <form> or <h4>. Non-semantic elements like <span>, <div> and <b> will not be represented here, and this information is not passed through via the atspi library. TODO: add examples for GTK/Qt libraries in addition to HTML examples.
  • Enumeration used by interface the crate::interface::Interface::Accessible to specify where an object should be placed on the screen when using scroll_to.

Type Aliases§