GObject.Object
Atk.Hyperlink
Import line: | Atk = imports.gi.Atk; |
GIR File: | Atk-1.0.gir |
C documentation: | AtkHyperlink |
Class : | Hyperlink |
Implements: | Atk.Action |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
end_index : Number
read only
|
Atk.Hyperlink | |
number_of_anchors : Number
read only
|
Atk.Hyperlink | |
parent : GObject.Object
read only
|
Atk.Hyperlink | |
selected_link : Boolean
read only
|
Atk.Hyperlink | |
start_index : Number
read only
|
Atk.Hyperlink |
Method / Constructor | Defined By | |
---|---|---|
new Atk.Hyperlink
(Object properties)
Create a new Atk.Hyperlink
Create a new Atk.Hyperlink
|
||
Atk.Action | ||
Atk.Action | ||
get_end_index
()
:
Number
Gets the index with the hypertext document at which this link ends.
Gets the index with the hypertext document at which this link ends.
|
Atk.Hyperlink | |
Returns a keybinding associated with this action, if one exists.
Returns a keybinding associated with this action, if one exists. The returned string is in the format ";;
|
Atk.Action | |
Atk.Action | ||
get_n_actions
()
:
Number
Gets the number of accessible actions available on the object.
Gets the number of accessible actions available on the object. If there are more than one, the first one is considered the "default" action of the object. implement this interface.
|
Atk.Action | |
get_n_anchors
()
:
Number
Gets the number of anchors associated with this hyperlink.
Gets the number of anchors associated with this hyperlink.
|
Atk.Hyperlink | |
Returns a non-localized string naming the specified action of the object.
Returns a non-localized string naming the specified action of the object. This name is generally not descriptive of the end result of the action, but instead names the 'interaction type' which the object supports. By convention, the above strings should be used to represent the actions which correspond to the common point-and-click "click", "press", "release", "drag", "drop", "popup", etc. The "popup" action should be used to pop up a context menu for the object, if one exists. For technical reasons, some toolkits cannot guarantee that the reported action is actually 'bound' to a nontrivial user event; i.e. the result of some actions via atk_action_do_action() may be NIL. Returns a name string, or NULL if action does not implement this interface.
|
Atk.Action | |
get_object
(Number i)
:
Atk.Object
Returns the item associated with this hyperlinks nth anchor.
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. Multiple anchors are primarily used by client-side image maps.
|
Atk.Hyperlink | |
get_start_index
()
:
Number
Gets the index with the hypertext document at which this link begins.
Gets the index with the hypertext document at which this link begins.
|
Atk.Hyperlink | |
Atk.Hyperlink | ||
is_inline
()
:
Boolean
Indicates whether the link currently displays some or all of its content inline.
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. *
|
Atk.Hyperlink | |
is_valid
()
:
Boolean
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.
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.
|
Atk.Hyperlink | |
Atk.Action |
Event | Defined By | |
---|---|---|
link_activated (Hyperlink self)
:
none
|
Atk.Hyperlink |
Class / Namespace | Method / Signal / Properties |
---|---|
Atk.HyperlinkImpl
Method |
get_hyperlink
()
:
Atk.Hyperlink
Gets the hyperlink associated with this object.
|
Atk.Hypertext
Method |
get_link
(Number link_index)
:
Atk.Hyperlink
Gets the link in this hypertext document at index index link_index
|