atk.hyperlink

Module for [Hyperlink] class

Types 3

An ATK object which encapsulates a link or set of links in a hypertext document.

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.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Hyperlink self() nothrowReturns `this`, for use in `with` statements.
HyperlinkGidBuilder builder() static nothrowGet builder for [atk.hyperlink.Hyperlink] Returns: New builder object
int endIndex() @property nothrow
int numberOfAnchors() @property nothrow
bool selectedLink() @property nothrowGet `selectedLink` property. Returns: Selected link
int startIndex() @property nothrow
int getEndIndex() nothrowGets the index with the hypertext document at which this link ends. Returns: the index with the hypertext document at which this link ends
int getNAnchors() nothrowGets the number of anchors associated with this hyperlink. Returns: the number of anchors associated with this hyperlink
atk.object.ObjectWrap getObject(int i) nothrowReturns the item associated with this hyperlinks nth anchor. For instance, the returned #AtkObject will implement #AtkText if link_ is a text hyperlink, #AtkImage if link_ is an image hyperlink etc.
int getStartIndex() nothrowGets the index with the hypertext document at which this link begins. Returns: the index with the hypertext document at which this link begins
string getUri(int i) nothrowGet a the URI associated with the anchor specified by `i` of link_.
bool isInline() nothrowIndicates whether the link currently displays some or all of its content inline. Ordinary HTML links will usually return false, but an inline <src> HTML element will return true. Returns: wh...
bool isSelectedLink() nothrowDetermines whether this AtkHyperlink is selected Returns: True if the AtkHyperlink is selected, False otherwise
bool isValid() nothrowSince the document that a link is associated with may have changed this method returns true if the link is still valid (with respect to the document it references) and false otherwise. Returns: whe...
gulong connectLinkActivated(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : atk.hyperlink.Hyperlink))) && Parameters!T.length < 2) nothrowConnect to `LinkActivated` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for atk.hyperlink.Hyperlink

Methods
Hyperlink build() nothrowCreate object from builder. Returns: New object