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§
pub use accessible::Accessible;pub use interface::Interface;pub use interface::InterfaceSet;pub use state::State;pub use state::StateSet;pub use cache::CacheItem;pub use cache::LegacyCacheItem;pub use error::AtspiError;pub use events::Event;pub use events::GenericEvent;
Modules§
- accessible
- cache
- Common types for
org.a11y.atspi.Cacheevents. - error
- events
- interface
- Conversion functions and types representing a set of
Interfaces. - state
Macros§
- assert_
eq_ signatures - Asserts that the signatures are equal, but ignores the outer parentheses as the difference between marshalled and unmarshalled signatures is often just one set of outer parentheses.
- impl_
from_ interface_ event_ enum_ for_ event - Expands to a conversion given the enclosed event type and outer
Eventvariant.
Enums§
- Clip
Type - Enumeration used by
TextProxyto indicate how to treat characters intersecting bounding boxes. - Coord
Type - The coordinate type encodes the frame of reference.
- Granularity
- Level of granularity to get text of, in relation to a cursor position.
- 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 “announcement” events, but it may be used for additional purposes in the future.
- Match
Type - Enumeration used by
MatchArgsto specify how to interpretcrate::accessible::Accessibleobjects. - 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 waycrate::accessible::Accessibleobjects should be sorted. - Tree
Traversal Type - Method of traversing a tree in the
CollectionProxy.