AtkHyperlinkImpl

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

Synopsis




                    AtkHyperlinkImpl;
AtkHyperlink*       atk_hyperlink_impl_get_hyperlink    (AtkHyperlinkImpl *obj);

Description

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.

Details

AtkHyperlinkImpl

typedef struct _AtkHyperlinkImpl AtkHyperlinkImpl;

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.


atk_hyperlink_impl_get_hyperlink ()

AtkHyperlink*       atk_hyperlink_impl_get_hyperlink    (AtkHyperlinkImpl *obj);

Gets the hyperlink associated with this object.

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

Since ATK 1.12