Expand description
§Rust ATK bindings
Project site is here.
Rust bindings and wrappers for ATK, part of gtk3-rs.
ATK 2.28 is the lowest supported version for the underlying library.
§Minimum supported Rust version
Currently, the minimum supported Rust version is 1.70.0.
§Documentation
§Using
We recommend using crates from crates.io, as demonstrated here.
If you want to track the bleeding edge, use the git dependency instead:
[dependencies]
atk = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "atk" }Avoid mixing versioned and git crates like this:
# This will not compile
[dependencies]
atk = "0.13"
atk = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "atk" }§See Also
§License
atk is available under the MIT License, please refer to it.
Re-exports§
Modules§
- prelude
- Traits intended for blanket imports.
Structs§
- Action
- The ATK interface provided by UI components which the user can activate/interact with.
- Attribute
- AtkAttribute is a string name/value pair representing a generic
attribute. This can be used to expose additional information from
an accessible object as a whole (see
atk_object_get_attributes()) or an document (seeatk_document_get_attributes()). In the case of text attributes (seeatk_text_get_default_attributes()),TextAttributeenum defines all the possible text attribute names. You can useTextAttribute::name()to get the string name from the enum value. See alsoTextAttribute::for_name()andTextAttribute::value()for more information. - Component
- The ATK interface provided by UI components which occupy a physical area on the screen. which the user can activate/interact with.
- Document
- The ATK interface which represents the toplevel container for document content.
- Editable
Text - The ATK interface implemented by components containing user-editable text content.
- GObject
Accessible - This object class is derived from AtkObject and can be used as a basis implementing accessible objects.
- Hyperlink
- An ATK object which encapsulates a link or set of links in a hypertext document.
- Hyperlink
Impl - A queryable interface which allows AtkHyperlink instances associated with an AtkObject to be obtained. AtkHyperlinkImpl corresponds to AT-SPI’s Hyperlink interface, and differs from AtkHyperlink in that AtkHyperlink is an object type, rather than an interface, and thus cannot be directly queried. FTW
- Hyperlink
State Flags - Describes the type of link
- Hypertext
- The ATK interface which provides standard mechanism for manipulating hyperlinks.
- Image
- The ATK Interface implemented by components which expose image or pixmap content on-screen.
- Misc
- A set of ATK utility functions for thread locking
- NoOp
Object - An AtkObject which purports to implement all ATK interfaces.
- NoOp
Object Factory - The AtkObjectFactory which creates an AtkNoOpObject.
- Object
- The base object class for the Accessibility Toolkit API.
- Object
Factory - The base object class for a factory used to create accessible objects for objects of a specific GType.
- Plug
- Toplevel for embedding into other processes
- Range
- A given range or subrange, to be used with
Value - Rectangle
- A data structure for holding a rectangle. Those coordinates are relative to the component top-level parent.
- Registry
- An object used to store the GType of the factories used to create an accessible object for an object of a particular GType.
- Relation
- An object used to describe a relation between a object and one or more other objects.
- Relation
Set - A set of AtkRelations, normally the set of AtkRelations which an AtkObject has.
- Selection
- The ATK interface implemented by container objects whose
Objectchildren can be selected. - Socket
- Container for AtkPlug objects from other processes
- State
Set - An AtkStateSet contains the states of an object.
- Streamable
Content - The ATK interface which provides access to streamable content.
- Table
- The ATK interface implemented for UI components which contain tabular or row/column information.
- Table
Cell - The ATK interface implemented for a cell inside a two-dimentional
Table - Text
- The ATK interface implemented by components with text content.
- Text
Range - A structure used to describe a text range.
- Text
Rectangle - A structure used to store a rectangle used by AtkText.
- Util
- A set of ATK utility functions for event and toolkit support.
- Value
- The ATK interface implemented by valuators and components which display or select a value from a bounded range of values.
- Window
- The ATK Interface provided by UI components that represent a top-level window.
Enums§
- Coord
Type - Specifies how xy coordinates are to be interpreted. Used by functions such
as
ComponentExt::position()andTextExt::character_extents() - Layer
- Describes the layer of a component
- Live
v2_50 - 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 “notification” events, but it may be used for additional purposes in the future.
- Relation
Type - Describes the type of the relation
- Role
- Describes the role of an object
- Scroll
Type v2_30 - Specifies where an object should be placed on the screen when using scroll_to.
- State
Type - The possible types of states of an object
- Text
Attribute - Describes the text attributes supported
- Text
Boundary - Text boundary types used for specifying boundaries for regions of text.
This enumeration is deprecated since 2.9.4 and should not be used. Use
AtkTextGranularity with
atk_text_get_string_at_offsetinstead. - Text
Clip Type - Describes the type of clipping required.
- Text
Granularity - Text granularity types used for specifying the granularity of the region of text we are interested in.
- Value
Type - Default types for a given value. Those are defined in order to
easily get localized strings to describe a given value or a given
subrange, using
localized_name().