Hypertext

Description An interface used for objects which implement linking between multiple resource or content locations, or multiple 'markers' within a single document. A Hypertext instance is associated with one or more Hyperlinks, which are associated with particular offsets within the Hypertext's included content. While this interface is derived from Text, there is no requirement that Hypertext instances have textual content; they may implement Image as well, and Hyperlinks need not have non-zero text offsets.

Constructors

this
this(AtkHypertext* atkHypertext)

Sets our main struct and passes it to the parent class

Members

Functions

addOnLinkSelected
void addOnLinkSelected(void delegate(gint, Hypertext) dlg, ConnectFlags connectFlags)

The "link-selected" signal is emitted by an AtkHyperText object when one of the hyperlinks associated with the object is selected. See Also AtkHyperlink

getHypertextStruct
AtkHypertext* getHypertextStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getLink
Hyperlink getLink(int linkIndex)

Gets the link in this hypertext document at index link_index

getLinkIndex
int getLinkIndex(int charIndex)

Gets the index into the array of hyperlinks that is associated with the character specified by char_index.

getNLinks
int getNLinks()

Gets the number of links within this hypertext document.

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

callBackLinkSelected
void callBackLinkSelected(AtkHypertext* atkhypertextStruct, gint arg1, Hypertext _hypertext)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

atkHypertext
AtkHypertext* atkHypertext;

the main Gtk struct

connectedSignals
int[string] connectedSignals;
onLinkSelectedListeners
void delegate(gint, Hypertext)[] onLinkSelectedListeners;
Undocumented in source.

Meta