Next: , Previous: AtkGObjectAccessible, Up: Top


7 AtkHyperlinkImpl

An interface from which the AtkHyperlink associated with an AtkObject may be obtained.

7.1 Overview

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.

7.2 Usage

— Class: <atk-hyperlink-impl>

Derives from <ginterface>.

This class defines no direct slots.

— Function: atk-hyperlink-impl-get-hyperlink (self <atk-hyperlink-impl>) ⇒  (ret <atk-hyperlink>)
— Method: get-hyperlink

Gets the hyperlink associated with this object.

obj
a GObject instance that implements AtkHyperlinkImplIface
ret
an AtkHyperlink object which points to this implementing AtkObject.

Since ATK 1.12