Expand description
atspi
root crate, which may bring in various subcrates:
atspi_common
(required)atspi_proxies
(with use ofproxies
feature flag)atspi_connection
(with use ofconnection
feature flag)zbus
re-export (with use ofzbus
feature flag)
Re-exports§
pub use atspi_proxies as proxy;
pub use atspi_connection as connection;
Modules§
- Common types for
org.a11y.atspi.Cache
events. - Conversion functions and types representing a set of
Interface
s.
Structs§
- A connection to the at-spi bus
- An action which may be triggered through the accessibility API.
- The item type provided by
Cache:Add
signals - A collection type which encodes the AT-SPI interfaces an accessible object has implemented.
- The item type provided by
Cache:Add
signals - Definition of match rules for accessible objects. Rule(s) against which we can match an object or a collection thereof.
ObjectRef
type- The bitflag representation of all states an object may have.
- 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§
- An error type that can describe atspi and
std
and differentzbus
errors. - Enumeration used by
TextProxy
to indicate how to treat characters intersecting bounding boxes. - The coordinate type encodes the frame of reference.
- Encapsulates the various different accessibility bus signal types.
- Level of granularity to get text of, in relation to a cursor position.
- AT-SPI interfaces an accessible object can implement.
- Indicates relative stacking order of a
atspi_proxies::component::ComponentProxy
with respect to the onscreen visual representation of the UI. - Enumeration used by
ObjectMatchRule
to specify how to interpretObjectRef
objects. - An operation can either be
Self::Insert
orSelf::Delete
. These correspond to methods available onVec
. - 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 theAnnouncement
event is namedpoliteness
. - 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 usingscroll_to
. - Enumeration used by interface
CollectionProxy
to specify the wayObjectRef
objects should be sorted. - Used by various interfaces indicating every possible state of an accessibility object.
- Defines how an object-tree is to be traversed. Used in
CollectionProxy
.
Traits§
- Describes the
DBus
-related information about a given struct. EventProperties
allows access to the internals of an event, specifically:- Describes properties of a specific event type.