Structures
The following structures are available globally.
-
The
AtkActioninterface should be supported by any object that can perform one or more actions. The interface provides the standard mechanism for an assistive technology to determine what those actions are as well as tell the object to perform them. Any object that can be manipulated should support this interface.The
See moreActionIfaceReftype acts as a lightweight Swift reference to an underlyingAtkActionIfaceinstance. It exposes methods that can operate on this data type throughActionIfaceProtocolconformance. UseActionIfaceRefonly as anunownedreference to an existingAtkActionIfaceinstance.Declaration
Swift
public struct ActionIfaceRef : ActionIfaceProtocol
-
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()),AtkTextAttributeenum defines all the possible text attribute names. You can useatk_text_attribute_get_name()to get the string name from the enum value. See alsoatk_text_attribute_for_name()andatk_text_attribute_get_value()for more information.A string name/value pair representing a generic attribute.
The
See moreAttributeReftype acts as a lightweight Swift reference to an underlyingAtkAttributeinstance. It exposes methods that can operate on this data type throughAttributeProtocolconformance. UseAttributeRefonly as anunownedreference to an existingAtkAttributeinstance.Declaration
Swift
public struct AttributeRef : AttributeProtocol
-
AtkActionshould be implemented by instances ofAtkObjectclasses with which the user can interact directly, i.e. buttons, checkboxes, scrollbars, e.g. components which are not “passive” providers of UI information.Exceptions: when the user interaction is already covered by another appropriate interface such as
AtkEditableText(insert/delete text, etc.) orAtkValue(set value) then these actions should not be exposed byAtkActionas well.Though most UI interactions on components should be invocable via keyboard as well as mouse, there will generally be a close mapping between “mouse actions” that are possible on a component and the AtkActions. Where mouse and keyboard actions are redundant in effect,
AtkActionshould expose only one action rather than exposing redundant actions if possible. By convention we have been using “mouse centric” terminology forAtkActionnames.The
See moreActionReftype acts as a lightweight Swift reference to an underlyingAtkActioninstance. It exposes methods that can operate on this data type throughActionProtocolconformance. UseActionRefonly as anunownedreference to an existingAtkActioninstance.Declaration
Swift
public struct ActionRef : ActionProtocol
-
The AtkComponent interface should be supported by any object that is rendered on the screen. The interface provides the standard mechanism for an assistive technology to determine and set the graphical representation of an object.
The
See moreComponentIfaceReftype acts as a lightweight Swift reference to an underlyingAtkComponentIfaceinstance. It exposes methods that can operate on this data type throughComponentIfaceProtocolconformance. UseComponentIfaceRefonly as anunownedreference to an existingAtkComponentIfaceinstance.Declaration
Swift
public struct ComponentIfaceRef : ComponentIfaceProtocol
-
AtkComponentshould be implemented by most if not all UI elements with an actual on-screen presence, i.e. components which can be said to have a screen-coordinate bounding box. Virtually all widgets will need to haveAtkComponentimplementations provided for their correspondingAtkObjectclass. In short, only UI elements which are not GUI elements will omit this ATK interface.A possible exception might be textual information with a transparent background, in which case text glyph bounding box information is provided by
AtkText.The
See moreComponentReftype acts as a lightweight Swift reference to an underlyingAtkComponentinstance. It exposes methods that can operate on this data type throughComponentProtocolconformance. UseComponentRefonly as anunownedreference to an existingAtkComponentinstance.Declaration
Swift
public struct ComponentRef : ComponentProtocol
-
The
See moreDocumentIfaceReftype acts as a lightweight Swift reference to an underlyingAtkDocumentIfaceinstance. It exposes methods that can operate on this data type throughDocumentIfaceProtocolconformance. UseDocumentIfaceRefonly as anunownedreference to an existingAtkDocumentIfaceinstance.Declaration
Swift
public struct DocumentIfaceRef : DocumentIfaceProtocol
-
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.
The
See moreDocumentReftype acts as a lightweight Swift reference to an underlyingAtkDocumentinstance. It exposes methods that can operate on this data type throughDocumentProtocolconformance. UseDocumentRefonly as anunownedreference to an existingAtkDocumentinstance.Declaration
Swift
public struct DocumentRef : DocumentProtocol
-
The
See moreEditableTextIfaceReftype acts as a lightweight Swift reference to an underlyingAtkEditableTextIfaceinstance. It exposes methods that can operate on this data type throughEditableTextIfaceProtocolconformance. UseEditableTextIfaceRefonly as anunownedreference to an existingAtkEditableTextIfaceinstance.Declaration
Swift
public struct EditableTextIfaceRef : EditableTextIfaceProtocol
-
AtkEditableTextshould be implemented by UI components which contain text which the user can edit, via theAtkObjectcorresponding to that component (seeAtkObject).AtkEditableTextis a subclass ofAtkText, and as such, an object which implementsAtkEditableTextis by definition anAtkTextimplementor as well.See also:
AtkTextThe
See moreEditableTextReftype acts as a lightweight Swift reference to an underlyingAtkEditableTextinstance. It exposes methods that can operate on this data type throughEditableTextProtocolconformance. UseEditableTextRefonly as anunownedreference to an existingAtkEditableTextinstance.Declaration
Swift
public struct EditableTextRef : EditableTextProtocol
-
The
See moreGObjectAccessibleClassReftype acts as a lightweight Swift reference to an underlyingAtkGObjectAccessibleClassinstance. It exposes methods that can operate on this data type throughGObjectAccessibleClassProtocolconformance. UseGObjectAccessibleClassRefonly as anunownedreference to an existingAtkGObjectAccessibleClassinstance.Declaration
Swift
public struct GObjectAccessibleClassRef : GObjectAccessibleClassProtocol
-
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.
The
See moreGObjectAccessibleReftype acts as a lightweight Swift reference to an underlyingAtkGObjectAccessibleinstance. It exposes methods that can operate on this data type throughGObjectAccessibleProtocolconformance. UseGObjectAccessibleRefonly as anunownedreference to an existingAtkGObjectAccessibleinstance.Declaration
Swift
public struct GObjectAccessibleRef : GObjectAccessibleProtocol, GWeakCapturing
-
The
See moreHyperlinkClassReftype acts as a lightweight Swift reference to an underlyingAtkHyperlinkClassinstance. It exposes methods that can operate on this data type throughHyperlinkClassProtocolconformance. UseHyperlinkClassRefonly as anunownedreference to an existingAtkHyperlinkClassinstance.Declaration
Swift
public struct HyperlinkClassRef : HyperlinkClassProtocol
-
The
See moreHyperlinkImplIfaceReftype acts as a lightweight Swift reference to an underlyingAtkHyperlinkImplIfaceinstance. It exposes methods that can operate on this data type throughHyperlinkImplIfaceProtocolconformance. UseHyperlinkImplIfaceRefonly as anunownedreference to an existingAtkHyperlinkImplIfaceinstance.Declaration
Swift
public struct HyperlinkImplIfaceRef : HyperlinkImplIfaceProtocol
-
The
See moreHypertextIfaceReftype acts as a lightweight Swift reference to an underlyingAtkHypertextIfaceinstance. It exposes methods that can operate on this data type throughHypertextIfaceProtocolconformance. UseHypertextIfaceRefonly as anunownedreference to an existingAtkHypertextIfaceinstance.Declaration
Swift
public struct HypertextIfaceRef : HypertextIfaceProtocol
-
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.
The
See moreHyperlinkReftype acts as a lightweight Swift reference to an underlyingAtkHyperlinkinstance. It exposes methods that can operate on this data type throughHyperlinkProtocolconformance. UseHyperlinkRefonly as anunownedreference to an existingAtkHyperlinkinstance.Declaration
Swift
public struct HyperlinkRef : HyperlinkProtocol, GWeakCapturing
-
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.
The AtkHyperlinkImpl interface should be supported by objects exposed within the hierarchy as children of an AtkHypertext container which correspond to “links” or embedded content within the text. HTML anchors are not, for instance, normally exposed this way, but embedded images and components which appear inline in the content of a text object are. The AtkHyperlinkIface interface allows a means of determining which children are hyperlinks in this sense of the word, and for obtaining their corresponding AtkHyperlink object, from which the embedding range, URI, etc. can be obtained.
To some extent this interface exists because, for historical reasons, AtkHyperlink was defined as an object type, not an interface. Thus, in order to interact with AtkObjects via AtkHyperlink semantics, a new interface was required.
The
See moreHyperlinkImplReftype acts as a lightweight Swift reference to an underlyingAtkHyperlinkImplinstance. It exposes methods that can operate on this data type throughHyperlinkImplProtocolconformance. UseHyperlinkImplRefonly as anunownedreference to an existingAtkHyperlinkImplinstance.Declaration
Swift
public struct HyperlinkImplRef : HyperlinkImplProtocol
-
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.
The
See moreHypertextReftype acts as a lightweight Swift reference to an underlyingAtkHypertextinstance. It exposes methods that can operate on this data type throughHypertextProtocolconformance. UseHypertextRefonly as anunownedreference to an existingAtkHypertextinstance.Declaration
Swift
public struct HypertextRef : HypertextProtocol
-
The
See moreImageIfaceReftype acts as a lightweight Swift reference to an underlyingAtkImageIfaceinstance. It exposes methods that can operate on this data type throughImageIfaceProtocolconformance. UseImageIfaceRefonly as anunownedreference to an existingAtkImageIfaceinstance.Declaration
Swift
public struct ImageIfaceRef : ImageIfaceProtocol
-
The
See moreImplementorReftype acts as a lightweight Swift reference to an underlyingAtkImplementorinstance. It exposes methods that can operate on this data type throughImplementorProtocolconformance. UseImplementorRefonly as anunownedreference to an existingAtkImplementorinstance.Declaration
Swift
public struct ImplementorRef : ImplementorProtocol
-
AtkImageshould be implemented byAtkObjectsubtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. For instance, icons, buttons with icons, toolbar elements, and image viewing panes typically should implementAtkImage.AtkImageprimarily provides two types of information: coordinate information (useful for screen review mode of screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive information is provided for alternative, text-only presentation of the most significant information present in the image.The
See moreImageReftype acts as a lightweight Swift reference to an underlyingAtkImageinstance. It exposes methods that can operate on this data type throughImageProtocolconformance. UseImageRefonly as anunownedreference to an existingAtkImageinstance.Declaration
Swift
public struct ImageRef : ImageProtocol
-
The AtkImplementor interface is implemented by objects for which AtkObject peers may be obtained via calls to iface->(ref_accessible)(implementor);
The
See moreImplementorIfaceReftype acts as a lightweight Swift reference to an underlyingAtkImplementorIfaceinstance. It exposes methods that can operate on this data type throughImplementorIfaceProtocolconformance. UseImplementorIfaceRefonly as anunownedreference to an existingAtkImplementorIfaceinstance.Declaration
Swift
public struct ImplementorIfaceRef : ImplementorIfaceProtocol
-
Encapsulates information about a key event.
The
See moreKeyEventStructReftype acts as a lightweight Swift reference to an underlyingAtkKeyEventStructinstance. It exposes methods that can operate on this data type throughKeyEventStructProtocolconformance. UseKeyEventStructRefonly as anunownedreference to an existingAtkKeyEventStructinstance.Declaration
Swift
public struct KeyEventStructRef : KeyEventStructProtocol
-
Usage of AtkMisc is deprecated since 2.12 and heavily discouraged.
The
See moreMiscClassReftype acts as a lightweight Swift reference to an underlyingAtkMiscClassinstance. It exposes methods that can operate on this data type throughMiscClassProtocolconformance. UseMiscClassRefonly as anunownedreference to an existingAtkMiscClassinstance.Declaration
Swift
public struct MiscClassRef : MiscClassProtocol
-
A set of utility functions for thread locking. This interface and all his related methods are deprecated since 2.12.
The
See moreMiscReftype acts as a lightweight Swift reference to an underlyingAtkMiscinstance. It exposes methods that can operate on this data type throughMiscProtocolconformance. UseMiscRefonly as anunownedreference to an existingAtkMiscinstance.Declaration
Swift
public struct MiscRef : MiscProtocol, GWeakCapturing
-
The
See moreNoOpObjectClassReftype acts as a lightweight Swift reference to an underlyingAtkNoOpObjectClassinstance. It exposes methods that can operate on this data type throughNoOpObjectClassProtocolconformance. UseNoOpObjectClassRefonly as anunownedreference to an existingAtkNoOpObjectClassinstance.Declaration
Swift
public struct NoOpObjectClassRef : NoOpObjectClassProtocol
-
The
See moreNoOpObjectFactoryClassReftype acts as a lightweight Swift reference to an underlyingAtkNoOpObjectFactoryClassinstance. It exposes methods that can operate on this data type throughNoOpObjectFactoryClassProtocolconformance. UseNoOpObjectFactoryClassRefonly as anunownedreference to an existingAtkNoOpObjectFactoryClassinstance.Declaration
Swift
public struct NoOpObjectFactoryClassRef : NoOpObjectFactoryClassProtocol
-
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.
The
See moreNoOpObjectReftype acts as a lightweight Swift reference to an underlyingAtkNoOpObjectinstance. It exposes methods that can operate on this data type throughNoOpObjectProtocolconformance. UseNoOpObjectRefonly as anunownedreference to an existingAtkNoOpObjectinstance.Declaration
Swift
public struct NoOpObjectRef : NoOpObjectProtocol, GWeakCapturing
-
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.
The
See moreNoOpObjectFactoryReftype acts as a lightweight Swift reference to an underlyingAtkNoOpObjectFactoryinstance. It exposes methods that can operate on this data type throughNoOpObjectFactoryProtocolconformance. UseNoOpObjectFactoryRefonly as anunownedreference to an existingAtkNoOpObjectFactoryinstance.Declaration
Swift
public struct NoOpObjectFactoryRef : NoOpObjectFactoryProtocol, GWeakCapturing
-
The
See moreObjectClassReftype acts as a lightweight Swift reference to an underlyingAtkObjectClassinstance. It exposes methods that can operate on this data type throughObjectClassProtocolconformance. UseObjectClassRefonly as anunownedreference to an existingAtkObjectClassinstance.Declaration
Swift
public struct ObjectClassRef : ObjectClassProtocol
-
The
See moreObjectFactoryClassReftype acts as a lightweight Swift reference to an underlyingAtkObjectFactoryClassinstance. It exposes methods that can operate on this data type throughObjectFactoryClassProtocolconformance. UseObjectFactoryClassRefonly as anunownedreference to an existingAtkObjectFactoryClassinstance.Declaration
Swift
public struct ObjectFactoryClassRef : ObjectFactoryClassProtocol
-
This class is the primary class for accessibility support via the Accessibility ToolKit (ATK). Objects which are instances of
AtkObject(or instances of AtkObject-derived types) are queried for properties which relate basic (and generic) properties of a UI component such as name and description. Instances ofAtkObjectmay also be queried as to whether they implement other ATK interfaces (e.g.AtkAction,AtkComponent, etc.), as appropriate to the role which a given UI component plays in a user interface.All UI components in an application which provide useful information or services to the user must provide corresponding
AtkObjectinstances on request (in GTK+, for instance, usually on a call togtk_widget_get_accessible()), either via ATK support built into the toolkit for the widget class or ancestor class, or in the case of custom widgets, if the inheritedAtkObjectimplementation is insufficient, via instances of a newAtkObjectsubclass.See also:
AtkObjectFactory,AtkRegistry. (GTK+ users see alsoGtkAccessible).The
See moreObjectReftype acts as a lightweight Swift reference to an underlyingAtkObjectinstance. It exposes methods that can operate on this data type throughObjectProtocolconformance. UseObjectRefonly as anunownedreference to an existingAtkObjectinstance.Declaration
Swift
public struct ObjectRef : ObjectProtocol, GWeakCapturing
-
This class is the base object class for a factory used to create an accessible object for a specific GType. The function
atk_registry_set_factory_type()is normally called to store in the registry the factory type to be used to create an accessible of a particular GType.The
See moreObjectFactoryReftype acts as a lightweight Swift reference to an underlyingAtkObjectFactoryinstance. It exposes methods that can operate on this data type throughObjectFactoryProtocolconformance. UseObjectFactoryRefonly as anunownedreference to an existingAtkObjectFactoryinstance.Declaration
Swift
public struct ObjectFactoryRef : ObjectFactoryProtocol, GWeakCapturing
-
The
See morePlugClassReftype acts as a lightweight Swift reference to an underlyingAtkPlugClassinstance. It exposes methods that can operate on this data type throughPlugClassProtocolconformance. UsePlugClassRefonly as anunownedreference to an existingAtkPlugClassinstance.Declaration
Swift
public struct PlugClassRef : PlugClassProtocol
-
Note:
old_valuefield ofAtkPropertyValueswill not contain a valid value. This is a field defined with the purpose of contain the previous value of the property, but is not used anymore.The
See morePropertyValuesReftype acts as a lightweight Swift reference to an underlyingAtkPropertyValuesinstance. It exposes methods that can operate on this data type throughPropertyValuesProtocolconformance. UsePropertyValuesRefonly as anunownedreference to an existingAtkPropertyValuesinstance.Declaration
Swift
public struct PropertyValuesRef : PropertyValuesProtocol
-
See
AtkSocketThe
See morePlugReftype acts as a lightweight Swift reference to an underlyingAtkPluginstance. It exposes methods that can operate on this data type throughPlugProtocolconformance. UsePlugRefonly as anunownedreference to an existingAtkPluginstance.Declaration
Swift
public struct PlugRef : PlugProtocol, GWeakCapturing
-
AtkRangeare used onAtkValue, in order to represent the full range of a given component (for example an slider or a range control), or to define each individual subrange this full range is splitted if available. SeeAtkValuedocumentation for further details.The
See moreRangeReftype acts as a lightweight Swift reference to an underlyingAtkRangeinstance. It exposes methods that can operate on this data type throughRangeProtocolconformance. UseRangeRefonly as anunownedreference to an existingAtkRangeinstance.Declaration
Swift
public struct RangeRef : RangeProtocol
-
A data structure for holding a rectangle. Those coordinates are relative to the component top-level parent.
The
See moreRectangleReftype acts as a lightweight Swift reference to an underlyingAtkRectangleinstance. It exposes methods that can operate on this data type throughRectangleProtocolconformance. UseRectangleRefonly as anunownedreference to an existingAtkRectangleinstance.Declaration
Swift
public struct RectangleRef : RectangleProtocol
-
The
See moreRegistryClassReftype acts as a lightweight Swift reference to an underlyingAtkRegistryClassinstance. It exposes methods that can operate on this data type throughRegistryClassProtocolconformance. UseRegistryClassRefonly as anunownedreference to an existingAtkRegistryClassinstance.Declaration
Swift
public struct RegistryClassRef : RegistryClassProtocol
-
The
See moreRelationClassReftype acts as a lightweight Swift reference to an underlyingAtkRelationClassinstance. It exposes methods that can operate on this data type throughRelationClassProtocolconformance. UseRelationClassRefonly as anunownedreference to an existingAtkRelationClassinstance.Declaration
Swift
public struct RelationClassRef : RelationClassProtocol
-
The
See moreRelationSetClassReftype acts as a lightweight Swift reference to an underlyingAtkRelationSetClassinstance. It exposes methods that can operate on this data type throughRelationSetClassProtocolconformance. UseRelationSetClassRefonly as anunownedreference to an existingAtkRelationSetClassinstance.Declaration
Swift
public struct RelationSetClassRef : RelationSetClassProtocol
-
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.
The
See moreRegistryReftype acts as a lightweight Swift reference to an underlyingAtkRegistryinstance. It exposes methods that can operate on this data type throughRegistryProtocolconformance. UseRegistryRefonly as anunownedreference to an existingAtkRegistryinstance.Declaration
Swift
public struct RegistryRef : RegistryProtocol, GWeakCapturing
-
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.
The
See moreRelationReftype acts as a lightweight Swift reference to an underlyingAtkRelationinstance. It exposes methods that can operate on this data type throughRelationProtocolconformance. UseRelationRefonly as anunownedreference to an existingAtkRelationinstance.Declaration
Swift
public struct RelationRef : RelationProtocol, GWeakCapturing
-
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.
The
See moreRelationSetReftype acts as a lightweight Swift reference to an underlyingAtkRelationSetinstance. It exposes methods that can operate on this data type throughRelationSetProtocolconformance. UseRelationSetRefonly as anunownedreference to an existingAtkRelationSetinstance.Declaration
Swift
public struct RelationSetRef : RelationSetProtocol, GWeakCapturing
-
The
See moreSelectionIfaceReftype acts as a lightweight Swift reference to an underlyingAtkSelectionIfaceinstance. It exposes methods that can operate on this data type throughSelectionIfaceProtocolconformance. UseSelectionIfaceRefonly as anunownedreference to an existingAtkSelectionIfaceinstance.Declaration
Swift
public struct SelectionIfaceRef : SelectionIfaceProtocol
-
The
See moreSocketClassReftype acts as a lightweight Swift reference to an underlyingAtkSocketClassinstance. It exposes methods that can operate on this data type throughSocketClassProtocolconformance. UseSocketClassRefonly as anunownedreference to an existingAtkSocketClassinstance.Declaration
Swift
public struct SocketClassRef : SocketClassProtocol
-
The
See moreStateSetClassReftype acts as a lightweight Swift reference to an underlyingAtkStateSetClassinstance. It exposes methods that can operate on this data type throughStateSetClassProtocolconformance. UseStateSetClassRefonly as anunownedreference to an existingAtkStateSetClassinstance.Declaration
Swift
public struct StateSetClassRef : StateSetClassProtocol
-
The
See moreStreamableContentIfaceReftype acts as a lightweight Swift reference to an underlyingAtkStreamableContentIfaceinstance. It exposes methods that can operate on this data type throughStreamableContentIfaceProtocolconformance. UseStreamableContentIfaceRefonly as anunownedreference to an existingAtkStreamableContentIfaceinstance.Declaration
Swift
public struct StreamableContentIfaceRef : StreamableContentIfaceProtocol
-
AtkSelectionshould be implemented by UI components with children which are exposed byatk_object_ref_childandatk_object_get_n_children, if the use of the parent UI component ordinarily involves selection of one or more of the objects corresponding to thoseAtkObjectchildren - for example, selectable lists.Note that other types of “selection” (for instance text selection) are accomplished a other ATK interfaces -
AtkSelectionis limited to the selection/deselection of children.The
See moreSelectionReftype acts as a lightweight Swift reference to an underlyingAtkSelectioninstance. It exposes methods that can operate on this data type throughSelectionProtocolconformance. UseSelectionRefonly as anunownedreference to an existingAtkSelectioninstance.Declaration
Swift
public struct SelectionRef : SelectionProtocol
-
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.
Negotiation of content type is allowed. Clients may examine the backing data and transform, convert, or parse the content in order to present it in an alternate form to end-users.
The AtkStreamableContent interface is particularly useful for saving, printing, or post-processing entire documents, or for persisting alternate views of a document. If document content itself is being serialized, stored, or converted, then use of the AtkStreamableContent interface can help address performance issues. Unlike most ATK interfaces, this interface is not strongly tied to the current user-agent view of the a particular document, but may in some cases give access to the underlying model data.
The
See moreStreamableContentReftype acts as a lightweight Swift reference to an underlyingAtkStreamableContentinstance. It exposes methods that can operate on this data type throughStreamableContentProtocolconformance. UseStreamableContentRefonly as anunownedreference to an existingAtkStreamableContentinstance.Declaration
Swift
public struct StreamableContentRef : StreamableContentProtocol
-
Together with
AtkPlug,AtkSocketprovides the ability to embed accessibles from one process into another in a fashion that is transparent to assistive technologies.AtkSocketworks as the container ofAtkPlug, embedding it using the methodatk_socket_embed(). Any accessible contained in theAtkPlugwill appear to the assistive technologies as being inside the application that created theAtkSocket.The communication between a
AtkSocketand aAtkPlugis done by the IPC layer of the accessibility framework, normally implemented by the D-Bus based implementation of AT-SPI (at-spi2). If that is the case, at-spi-atk2 is the responsible to implement the abstract methodsatk_plug_get_id()andatk_socket_embed(), so an ATK implementor shouldn’t reimplement them. The process that contains theAtkPlugis responsible to send the ID returned byatk_plug_id()to the process that contains theAtkSocket, so it could call the methodatk_socket_embed()in order to embed it.For the same reasons, an implementor doesn’t need to implement
atk_object_get_n_accessible_children()andatk_object_ref_accessible_child(). All the logic related to those functions will be implemented by the IPC layer.The
See moreSocketReftype acts as a lightweight Swift reference to an underlyingAtkSocketinstance. It exposes methods that can operate on this data type throughSocketProtocolconformance. UseSocketRefonly as anunownedreference to an existingAtkSocketinstance.Declaration
Swift
public struct SocketRef : SocketProtocol, GWeakCapturing
-
An AtkStateSet is a read-only representation of the full set of
AtkStatesthat apply to an object at a given time. This set is not meant to be modified, but rather created whenatk_object_ref_state_set()is called.The
See moreStateSetReftype acts as a lightweight Swift reference to an underlyingAtkStateSetinstance. It exposes methods that can operate on this data type throughStateSetProtocolconformance. UseStateSetRefonly as anunownedreference to an existingAtkStateSetinstance.Declaration
Swift
public struct StateSetRef : StateSetProtocol, GWeakCapturing
-
AtkTableCell is an interface for cells inside an
AtkTable.The
See moreTableCellIfaceReftype acts as a lightweight Swift reference to an underlyingAtkTableCellIfaceinstance. It exposes methods that can operate on this data type throughTableCellIfaceProtocolconformance. UseTableCellIfaceRefonly as anunownedreference to an existingAtkTableCellIfaceinstance.Declaration
Swift
public struct TableCellIfaceRef : TableCellIfaceProtocol
-
The
See moreTableIfaceReftype acts as a lightweight Swift reference to an underlyingAtkTableIfaceinstance. It exposes methods that can operate on this data type throughTableIfaceProtocolconformance. UseTableIfaceRefonly as anunownedreference to an existingAtkTableIfaceinstance.Declaration
Swift
public struct TableIfaceRef : TableIfaceProtocol
-
The
See moreTextIfaceReftype acts as a lightweight Swift reference to an underlyingAtkTextIfaceinstance. It exposes methods that can operate on this data type throughTextIfaceProtocolconformance. UseTextIfaceRefonly as anunownedreference to an existingAtkTextIfaceinstance.Declaration
Swift
public struct TextIfaceRef : TextIfaceProtocol
-
A structure used to describe a text range.
The
See moreTextRangeReftype acts as a lightweight Swift reference to an underlyingAtkTextRangeinstance. It exposes methods that can operate on this data type throughTextRangeProtocolconformance. UseTextRangeRefonly as anunownedreference to an existingAtkTextRangeinstance.Declaration
Swift
public struct TextRangeRef : TextRangeProtocol
-
A structure used to store a rectangle used by AtkText.
The
See moreTextRectangleReftype acts as a lightweight Swift reference to an underlyingAtkTextRectangleinstance. It exposes methods that can operate on this data type throughTextRectangleProtocolconformance. UseTextRectangleRefonly as anunownedreference to an existingAtkTextRectangleinstance.Declaration
Swift
public struct TextRectangleRef : TextRectangleProtocol
-
AtkTableshould be implemented by components which present elements ordered via rows and columns. It may also be used to present tree-structured information if the nodes of the trees can be said to contain multiple “columns”. Individual elements of anAtkTableare typically referred to as “cells”. Those cells should implement the interfaceAtkTableCell, butAtkdoesn’t require them to be direct children of the currentAtkTable. They can be grand-children, grand-grand-children etc.AtkTableprovides the API needed to get a individual cell based on the row and column numbers.Children of
AtkTableare frequently “lightweight” objects, that is, they may not have backing widgets in the host UI toolkit. They are therefore often transient.Since tables are often very complex,
AtkTableincludes provision for offering simplified summary information, as well as row and column headers and captions. Headers and captions areAtkObjectswhich may implement other interfaces (AtkText,AtkImage, etc.) as appropriate.AtkTablesummaries may themselves be (simplified)AtkTables, etc.Note for implementors: in the past,
AtkTablerequired that all the cells should be direct children ofAtkTable, and provided some index based methods to request the cells. The practice showed that that forcing madeAtkTableimplementation complex, and hard to expose other kind of children, like rows or captions. Right now, index-based methods are deprecated.The
See moreTableReftype acts as a lightweight Swift reference to an underlyingAtkTableinstance. It exposes methods that can operate on this data type throughTableProtocolconformance. UseTableRefonly as anunownedreference to an existingAtkTableinstance.Declaration
Swift
public struct TableRef : TableProtocol
-
Being
AtkTablea component which present elements ordered via rows and columns, anAtkTableCellis the interface which each of those elements, so “cells” should implement.See also
AtkTable.The
See moreTableCellReftype acts as a lightweight Swift reference to an underlyingAtkTableCellinstance. It exposes methods that can operate on this data type throughTableCellProtocolconformance. UseTableCellRefonly as anunownedreference to an existingAtkTableCellinstance.Declaration
Swift
public struct TableCellRef : TableCellProtocol, GWeakCapturing
-
AtkTextshould be implemented byAtkObjectson behalf of widgets that have text content which is either attributed or otherwise non-trivial.AtkObjectswhose text content is simple, unattributed, and very brief may expose that content viaatk_object_get_nameinstead; however if the text is editable, multi-line, typically longer than three or four words, attributed, selectable, or if the object already uses the ‘name’ ATK property for other information, theAtkTextinterface should be used to expose the text content. In the case of editable text content,AtkEditableText(a subtype of theAtkTextinterface) should be implemented instead.AtkTextprovides not only traversal facilities and change notification for text content, but also caret tracking and glyph bounding box calculations. Note that the text strings are exposed as UTF-8, and are therefore potentially multi-byte, and caret-to-byte offset mapping makes no assumptions about the character length; also bounding box glyph-to-offset mapping may be complex for languages which use ligatures.The
See moreTextReftype acts as a lightweight Swift reference to an underlyingAtkTextinstance. It exposes methods that can operate on this data type throughTextProtocolconformance. UseTextRefonly as anunownedreference to an existingAtkTextinstance.Declaration
Swift
public struct TextRef : TextProtocol
-
The
See moreUtilClassReftype acts as a lightweight Swift reference to an underlyingAtkUtilClassinstance. It exposes methods that can operate on this data type throughUtilClassProtocolconformance. UseUtilClassRefonly as anunownedreference to an existingAtkUtilClassinstance.Declaration
Swift
public struct UtilClassRef : UtilClassProtocol
-
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.
The
See moreUtilReftype acts as a lightweight Swift reference to an underlyingAtkUtilinstance. It exposes methods that can operate on this data type throughUtilProtocolconformance. UseUtilRefonly as anunownedreference to an existingAtkUtilinstance.Declaration
Swift
public struct UtilRef : UtilProtocol, GWeakCapturing
-
The
See moreValueIfaceReftype acts as a lightweight Swift reference to an underlyingAtkValueIfaceinstance. It exposes methods that can operate on this data type throughValueIfaceProtocolconformance. UseValueIfaceRefonly as anunownedreference to an existingAtkValueIfaceinstance.Declaration
Swift
public struct ValueIfaceRef : ValueIfaceProtocol
-
AtkValueshould be implemented for components which either display a value from a bounded range, or which allow the user to specify a value from a bounded range, or both. For instance, most sliders and range controls, as well as dials, should haveAtkObjectrepresentations which implementAtkValueon the component’s behalf.AtKValuesmay be read-only, in which case attempts to alter the value return would fail.<refsect1 id=“current-value-text”> <title>On the subject of current value text</title> <para> In addition to providing the current value, implementors can optionally provide an end-user-consumable textual description associated with this value. This description should be included when the numeric value fails to convey the full, on-screen representation seen by users. </para>
<example> <title>Password strength</title> A password strength meter whose value changes as the user types their new password. Red is used for values less than 4.0, yellow for values between 4.0 and 7.0, and green for values greater than 7.0. In this instance, value text should be provided by the implementor. Appropriate value text would be “weak”, “acceptable,” and “strong” respectively. </example>
A level bar whose value changes to reflect the battery charge. The color remains the same regardless of the charge and there is no on-screen text reflecting the fullness of the battery. In this case, because the position within the bar is the only indication the user has of the current charge, value text should not be provided by the implementor.
<refsect2 id=“implementor-notes”> <title>Implementor Notes</title> <para> Implementors should bear in mind that assistive technologies will likely prefer the value text provided over the numeric value when presenting a widget’s value. As a result, strings not intended for end users should not be exposed in the value text, and strings which are exposed should be localized. In the case of widgets which display value text on screen, for instance through a separate label in close proximity to the value-displaying widget, it is still expected that implementors will expose the value text using the above API. </para>
<para>
AtkValueshould NOT be implemented for widgets whose displayed value is not reflective of a meaningful amount. For instance, a progress pulse indicator whose value alternates between 0.0 and 1.0 to indicate that some process is still taking place should not implementAtkValuebecause the current value does not reflect progress towards completion. </para> </refsect2> </refsect1><refsect1 id=“ranges”> <title>On the subject of ranges</title> <para> In addition to providing the minimum and maximum values, implementors can optionally provide details about subranges associated with the widget. These details should be provided by the implementor when both of the following are communicated visually to the end user: </para> <itemizedlist> <listitem>The existence of distinct ranges such as “weak”, “acceptable”, and “strong” indicated by color, bar tick marks, and/or on-screen text.</listitem> <listitem>Where the current value stands within a given subrange, for instance illustrating progression from very “weak” towards nearly “acceptable” through changes in shade and/or position on the bar within the “weak” subrange.</listitem> </itemizedlist> <para> If both of the above do not apply to the widget, it should be sufficient to expose the numeric value, along with the value text if appropriate, to make the widget accessible. </para>
<refsect2 id=“ranges-implementor-notes”> <title>Implementor Notes</title> <para> If providing subrange details is deemed necessary, all possible values of the widget are expected to fall within one of the subranges defined by the implementor. </para> </refsect2> </refsect1>
<refsect1 id=“localization”> <title>On the subject of localization of end-user-consumable text values</title> <para> Because value text and subrange descriptors are human-consumable, implementors are expected to provide localized strings which can be directly presented to end users via their assistive technology. In order to simplify this for implementors, implementors can use
atk_value_type_get_localized_name()with the following already-localized constants for commonly-needed values can be used: </para><itemizedlist> <listitem>ATK_VALUE_VERY_WEAK</listitem> <listitem>ATK_VALUE_WEAK</listitem> <listitem>ATK_VALUE_ACCEPTABLE</listitem> <listitem>ATK_VALUE_STRONG</listitem> <listitem>ATK_VALUE_VERY_STRONG</listitem> <listitem>ATK_VALUE_VERY_LOW</listitem> <listitem>ATK_VALUE_LOW</listitem> <listitem>ATK_VALUE_MEDIUM</listitem> <listitem>ATK_VALUE_HIGH</listitem> <listitem>ATK_VALUE_VERY_HIGH</listitem> <listitem>ATK_VALUE_VERY_BAD</listitem> <listitem>ATK_VALUE_BAD</listitem> <listitem>ATK_VALUE_GOOD</listitem> <listitem>ATK_VALUE_VERY_GOOD</listitem> <listitem>ATK_VALUE_BEST</listitem> <listitem>ATK_VALUE_SUBSUBOPTIMAL</listitem> <listitem>ATK_VALUE_SUBOPTIMAL</listitem> <listitem>ATK_VALUE_OPTIMAL</listitem> </itemizedlist> <para> Proposals for additional constants, along with their use cases, should be submitted to the GNOME Accessibility Team. </para> </refsect1>
<refsect1 id=“changes”> <title>On the subject of changes</title> <para> Note that if there is a textual description associated with the new numeric value, that description should be included regardless of whether or not it has also changed. </para> </refsect1>
The
See moreValueReftype acts as a lightweight Swift reference to an underlyingAtkValueinstance. It exposes methods that can operate on this data type throughValueProtocolconformance. UseValueRefonly as anunownedreference to an existingAtkValueinstance.Declaration
Swift
public struct ValueRef : ValueProtocol
-
The
See moreWindowIfaceReftype acts as a lightweight Swift reference to an underlyingAtkWindowIfaceinstance. It exposes methods that can operate on this data type throughWindowIfaceProtocolconformance. UseWindowIfaceRefonly as anunownedreference to an existingAtkWindowIfaceinstance.Declaration
Swift
public struct WindowIfaceRef : WindowIfaceProtocol
-
AtkWindowshould be implemented by the UI elements that represent a top-level window, such as the main window of an application or dialog.The
See moreWindowReftype acts as a lightweight Swift reference to an underlyingAtkWindowinstance. It exposes methods that can operate on this data type throughWindowProtocolconformance. UseWindowRefonly as anunownedreference to an existingAtkWindowinstance.Declaration
Swift
public struct WindowRef : WindowProtocol, GWeakCapturing -
Describes the type of link
See moreDeclaration
Swift
public struct HyperlinkStateFlags : OptionSet
View on GitHub
Install in Dash
Structures Reference