webkitwebprocessextension.web_hit_test_result

Module for [WebHitTestResult] class

Types 3

Result of a Hit Test (Web Process Extensions).

WebKitWebHitTestResult extends #WebKitHitTestResult to provide information about the #WebKitDOMNode in the coordinates of the Hit Test.

Methods
GType _gType() @property
WebHitTestResult self()Returns `this`, for use in `with` statements.
WebHitTestResultGidBuilder builder()Get builder for [webkitwebprocessextension.webhittest_result.WebHitTestResult] Returns: New builder object
bool contextIsEditable()Check whether there is an editable element at the hit test position.
bool contextIsImage()Check whether there is an image element at the hit test position.
bool contextIsLink()Check whether there is a link element at the hit test position.
bool contextIsMedia()Check whether there is a media element at the hit test position.
bool contextIsScrollbar()Check whether there is a scrollbar at the hit test position.
bool contextIsSelection()Check whether there is a selected element at the hit test position.
uint getContext()Gets the the context flags for the hit test result. Returns: a bitmask of #WebKitHitTestResultContext flags
string getImageUri()Obtains the URI associated with the image element at the hit test position. Returns: the URI of the image element, or null if the hit test does not cover an image element.
javascriptcore.value.Value getJsNode(webkitwebprocessextension.script_world.ScriptWorld world = null)Get the #JSCValue for the DOM node in world at the coordinates of the Hit Test.
string getLinkLabel()Obtains the label associated with the link element at the hit test position. Returns: the label of the link element, or null if the hit test does not cover a link element or the link element does n...
string getLinkTitle()Obtains the title associated with the link element at the hit test position. Returns: the title of the link element, or null if the hit test does not cover a link element or the link element does n...
string getLinkUri()Obtains the URI associated with the link element at the hit test position. Returns: the URI of the link element, or null if the hit test does not cover a link element.
string getMediaUri()Obtains the URI associated with the media element at the hit test position. Returns: the URI of the media element, or null if the hit test does not cover a media element.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [webkitwebprocessextension.web_hit_test_result.WebHitTestResult]