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 _gType() @property
Hyperlink self()Returns `this`, for use in `with` statements.
HyperlinkGidBuilder builder()Get builder for [atk.hyperlink.Hyperlink] Returns: New builder object
int endIndex() @property
int numberOfAnchors() @property
bool selectedLink() @propertyGet `selectedLink` property. Returns: Selected link
int startIndex() @property
int getEndIndex()Gets 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()Gets the number of anchors associated with this hyperlink. Returns: the number of anchors associated with this hyperlink
atk.object.ObjectWrap getObject(int i)Returns 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()Gets 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)Get a the URI associated with the anchor specified by `i` of link_.
bool isInline()Indicates 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()Determines whether this AtkHyperlink is selected Returns: True if the AtkHyperlink is selected, False otherwise
bool isValid()Since 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)Connect to `LinkActivated` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [atk.hyperlink.Hyperlink]

Methods