Crate atk[−][src]
Expand description
Rust ATK bindings
This library contains safe Rust bindings for ATK. It is a part of gtk-rs.
ATK 2.18 is the lowest supported version for the underlying library.
Re-exports
pub use ffi; | |
pub use glib; |
Modules
prelude | Traits intended for blanket imports. |
Structs
Action |
|
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 |
Component |
|
Document | The AtkDocument interface should be supported by any object whose content is a representation or view of a document. The AtkDocument interface should appear on the toplevel container for the document content; however AtkDocument instances may be nested (i.e. an AtkDocument may be a descendant of another AtkDocument) in those cases where one document contains “embedded content” which can reasonably be considered a document in its own right. |
EditableText |
|
GObjectAccessible | This object class is derived from AtkObject. It can be used as a basis for implementing accessible objects for GObjects which are not derived from GtkWidget. One example of its use is in providing an accessible object for GnomeCanvasItem in the GAIL library. |
Hyperlink | An ATK object which encapsulates a link or set of links (for instance in the case of client-side image maps) in a hypertext document. It may implement the AtkAction interface. AtkHyperlink may also be used to refer to inline embedded content, since it allows specification of a start and end offset within the host AtkHypertext object. |
HyperlinkImpl | AtkHyperlinkImpl allows AtkObjects to refer to their associated AtkHyperlink instance, if one exists. AtkHyperlinkImpl differs from AtkHyperlink in that AtkHyperlinkImpl is an interface, whereas AtkHyperlink is a object type. The AtkHyperlinkImpl interface allows a client to query an AtkObject for the availability of an associated AtkHyperlink instance, and obtain that instance. It is thus particularly useful in cases where embedded content or inline content within a text object is present, since the embedding text object implements AtkHypertext and the inline/embedded objects are exposed as children which implement AtkHyperlinkImpl, in addition to their being obtainable via AtkHypertext:getLink followed by AtkHyperlink:getObject. |
HyperlinkStateFlags | Describes the type of link |
Hypertext | An interface used for objects which implement linking between multiple resource or content locations, or multiple ‘markers’ within a single document. A Hypertext instance is associated with one or more Hyperlinks, which are associated with particular offsets within the Hypertext’s included content. While this interface is derived from Text, there is no requirement that Hypertext instances have textual content; they may implement Image as well, and Hyperlinks need not have non-zero text offsets. |
Image |
|
Misc | A set of utility functions for thread locking. This interface and all his related methods are deprecated since 2.12. |
NoOpObject | An AtkNoOpObject is an AtkObject which purports to implement all ATK interfaces. It is the type of AtkObject which is created if an accessible object is requested for an object type for which no factory type is specified. |
NoOpObjectFactory | The AtkObjectFactory which creates an AtkNoOpObject. An instance of this is created by an AtkRegistry if no factory type has not been specified to create an accessible object of a particular type. |
Object | This class is the primary class for accessibility support via the
Accessibility ToolKit (ATK). Objects which are instances of
|
ObjectFactory | This class is the base object class for a factory used to create an
accessible object for a specific GType. The function
|
Plug | See |
Range |
|
Rectangle | A data structure for holding a rectangle. Those coordinates are relative to the component top-level parent. |
Registry | The AtkRegistry is normally used to create appropriate ATK “peers” for user interface components. Application developers usually need only interact with the AtkRegistry by associating appropriate ATK implementation classes with GObject classes via the atk_registry_set_factory_type call, passing the appropriate GType for application custom widget classes. |
Relation | An AtkRelation describes a relation between an object and one or more other objects. The actual relations that an object has with other objects are defined as an AtkRelationSet, which is a set of AtkRelations. |
RelationSet | The AtkRelationSet held by an object establishes its relationships with objects beyond the normal “parent/child” hierarchical relationships that all user interface objects have. AtkRelationSets establish whether objects are labelled or controlled by other components, share group membership with other components (for instance within a radio-button group), or share content which “flows” between them, among other types of possible relationships. |
Selection |
|
Socket | Together with |
StateSet | An AtkStateSet is a read-only representation of the full set of |
StreamableContent | An interface whereby an object allows its backing content to be streamed to clients. Typical implementors would be images or icons, HTML content, or multimedia display/rendering widgets. |
Table |
|
TableCell | Being |
Text |
|
TextRange | A structure used to describe a text range. |
TextRectangle | A structure used to store a rectangle used by AtkText. |
Util | A set of ATK utility functions which are used to support event registration of various types, and obtaining the ‘root’ accessible of a process and information about the current ATK implementation and toolkit version. |
Value |
|
Window |
|
Enums
CoordType | Specifies how xy coordinates are to be interpreted. Used by functions such
as |
Layer | Describes the layer of a component |
RelationType | Describes the type of the relation |
Role | Describes the role of an object |
ScrollType | v2_30 Specifies where an object should be placed on the screen when using scroll_to. |
StateType | The possible types of states of an object |
TextAttribute | Describes the text attributes supported |
TextBoundary | 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 |
TextClipType | Describes the type of clipping required. |
TextGranularity | Text granularity types used for specifying the granularity of the region of text we are interested in. |
ValueType | 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 |
Constants
Type Definitions
AttributeSet | |
State |