Expand description
atspi root crate, which may bring in various subcrates:
atspi_common(required)atspi_proxies(with use ofproxiesfeature flag)atspi_connection(with use ofconnectionfeature flag)zbusre-export (with use ofzbusfeature flag)
Re-exports§
pub use atspi_proxies as proxy;pub use atspi_connection as connection;
Modules§
- cache
- Common types for
org.a11y.atspi.Cacheevents. - error
- events
- interface
- Conversion functions and types representing a set of
Interfaces. - object_
ref - state
Structs§
- Accessibility
Connection - A connection to the at-spi bus
- Cache
Item - The item type provided by
Cache:Addsignals - Interface
Set - A collection type which encodes the AT-SPI interfaces an accessible object has implemented.
- Legacy
Cache Item - The item type provided by
Cache:Addsignals - Object
Ref ObjectReftype- State
Set - The bitflag representation of all states an object may have.
Enums§
- Atspi
Error - An error type that can describe atspi and
stdand differentzbuserrors. - Clip
Type - Enumeration used by
TextProxyto indicate how to treat characters intersecting bounding boxes. - Coord
Type - The coordinate type encodes the frame of reference.
- Event
- Encapsulates the various different accessibility bus signal types.
- Granularity
- Level of granularity to get text of, in relation to a cursor position.
- Interface
- AT-SPI interfaces an accessible object can implement.
- Layer
- Indicates relative stacking order of a
atspi_proxies::component::ComponentProxywith respect to the onscreen visual representation of the UI. - Live
- 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
Announcementevents, but it may be used for additional purposes in the future. The argument in theAnnouncementevent is namedpoliteness. - Match
Type - Enumeration used by
MatchArgsto specify how to interpretObjectRefobjects. - Relation
Type - Describes a relationship between one object and another.
- Role
- 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. - Scroll
Type - Enumeration used by interface the
crate::interface::Interface::Accessibleto specify where an object should be placed on the screen when usingscroll_to. - Sort
Order - Enumeration used by interface
CollectionProxyto specify the wayObjectRefobjects should be sorted. - State
- Used by various interfaces indicating every possible state of an accessibility object.
- Tree
Traversal Type - Method of traversing a tree in the
CollectionProxy.
Traits§
- BusProperties
- Describes the
DBus-related information about a given struct. - Event
Properties EventPropertiesallows access to the internals of an event, specifically:- Event
Type Properties - Describes properties of a specific event type.