Atk.HyperlinkImpl¶
- Implementations
None
Methods¶
Virtual Methods¶
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Atk.HyperlinkImpl¶
- Bases
- Structure
Atk.HyperlinkImpl
allows AtkObjects to refer to their associatedAtk.Hyperlink
instance, if one exists.Atk.HyperlinkImpl
differs fromAtk.Hyperlink
in thatAtk.HyperlinkImpl
is an interface, whereasAtk.Hyperlink
is a object type. TheAtk.HyperlinkImpl
interface allows a client to query anAtk.Object
for the availability of an associatedAtk.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 implementsAtk.Hypertext
and the inline/embedded objects are exposed as children which implementAtk.HyperlinkImpl
, in addition to their being obtainable viaAtk.Hypertext
:getLink
followed byAtk.Hyperlink
:getObject
.The
Atk.HyperlinkImpl
interface should be supported by objects exposed within the hierarchy as children of anAtk.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 correspondingAtk.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 viaAtk.Hyperlink
semantics, a new interface was required.- get_hyperlink()[source]¶
- Returns
an
Atk.Hyperlink
object which points to this implementingAtk.Object
.- Return type
Gets the hyperlink associated with this object.
New in version 1.12.
- do_get_hyperlink() virtual¶
- Returns
an
Atk.Hyperlink
object which points to this implementingAtk.Object
.- Return type
Gets the hyperlink associated with this object.
New in version 1.12.