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
HyperlinkGidBuilder builder() static nothrowGet builder for [atk.hyperlink.Hyperlink] Returns: New builder objectint getEndIndex() nothrowGets the index with the hypertext document at which this link ends. Returns: the index with the hypertext document at which this link endsint getNAnchors() nothrowGets the number of anchors associated with this hyperlink. Returns: the number of anchors associated with this hyperlinkatk.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 beginsbool 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 otherwisebool 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.classHyperlinkGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, atk.action.ActionGidBuilderImpl!T
Fluent builder implementation template for atk.hyperlink.Hyperlink
Fluent builder for atk.hyperlink.Hyperlink