Atk.HyperlinkImpl

g Atk.HyperlinkImpl Atk.HyperlinkImpl GObject.GInterface GObject.GInterface GObject.GInterface->Atk.HyperlinkImpl

Implementations

None

Methods

get_hyperlink ()

Virtual Methods

do_get_hyperlink ()

Properties

None

Signals

None

Fields

None

Class Details

class Atk.HyperlinkImpl
Bases

GObject.GInterface

Structure

Atk.HyperlinkImplIface

Atk.HyperlinkImpl allows AtkObjects to refer to their associated Atk.Hyperlink instance, if one exists. Atk.HyperlinkImpl differs from Atk.Hyperlink in that Atk.HyperlinkImpl is an interface, whereas Atk.Hyperlink is a object type. The Atk.HyperlinkImpl interface allows a client to query an Atk.Object for the availability of an associated Atk.Hyperlink 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 Atk.Hypertext and the inline/embedded objects are exposed as children which implement Atk.HyperlinkImpl, in addition to their being obtainable via Atk.Hypertext :getLink followed by Atk.Hyperlink :getObject.

The Atk.HyperlinkImpl interface should be supported by objects exposed within the hierarchy as children of an Atk.Hypertext 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 Atk.Hyperlink object, from which the embedding range, URI, etc. can be obtained.

To some extent this interface exists because, for historical reasons, Atk.Hyperlink was defined as an object type, not an interface. Thus, in order to interact with AtkObjects via Atk.Hyperlink semantics, a new interface was required.

Returns

an Atk.Hyperlink object which points to this implementing Atk.Object.

Return type

Atk.Hyperlink

Gets the hyperlink associated with this object.

New in version 1.12.

Returns

an Atk.Hyperlink object which points to this implementing Atk.Object.

Return type

Atk.Hyperlink

Gets the hyperlink associated with this object.

New in version 1.12.