WebKitWebProcessExtension.WebHitTestResult¶
- Subclasses:
- None 
Methods¶
- Inherited:
- Structs:
| 
 | |
| 
 | |
| 
 | |
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class WebKitWebProcessExtension.WebHitTestResult(**kwargs)¶
- Bases:
- Abstract:
- No 
- Structure:
 - Result of a Hit Test (Web Process Extensions). - WebKitWebProcessExtension.WebHitTestResultextends- WebKitWebProcessExtension.HitTestResultto provide information about the #WebKitDOMNode in the coordinates of the Hit Test.- New in version 2.8. - context_is_editable()¶
- 
Check whether there is an editable element at the hit test position. Checks whether WebKitWebProcessExtension.HitTestResultContext.EDITABLEflag is present in the context flags.
 - context_is_image()¶
- 
Check whether there is an image element at the hit test position. Checks whether WebKitWebProcessExtension.HitTestResultContext.IMAGEflag is present in the context flags.
 - context_is_link()¶
- 
Check whether there is a link element at the hit test position. Checks whether WebKitWebProcessExtension.HitTestResultContext.LINKflag is present in the context flags.
 - context_is_media()¶
- 
Check whether there is a media element at the hit test position. Checks whether WebKitWebProcessExtension.HitTestResultContext.MEDIAflag is present in the context flags.
 - context_is_scrollbar()¶
- 
Check whether there is a scrollbar at the hit test position. Checks whether WebKitWebProcessExtension.HitTestResultContext.SCROLLBARflag is present in the context flags.
 - context_is_selection()¶
- 
Check whether there is a selected element at the hit test position. Checks whether WebKitWebProcessExtension.HitTestResultContext.SELECTIONflag is present in the context flags.
 - get_context()¶
- Returns:
- a bitmask of - WebKitWebProcessExtension.HitTestResultContextflags
- Return type:
 - Gets the the context flags for the hit test result. 
 - get_image_uri()¶
- Returns:
- the URI of the image element, or - Noneif the hit test does not cover an image element.
- Return type:
 - Obtains the URI associated with the image element at the hit test position. 
 - get_js_node(world)¶
- Parameters:
- world ( - WebKitWebProcessExtension.ScriptWorldor- None) – a- WebKitWebProcessExtension.ScriptWorld, or- Noneto use the default
- Returns:
- a - JavaScriptCore.Valuefor the DOM node, or- None
- Return type:
 - Get the - JavaScriptCore.Valuefor the DOM node in world at the coordinates of the Hit Test.- New in version 2.40. 
 - get_link_label()¶
- Returns:
- the label of the link element, or - Noneif the hit test does not cover a link element or the link element does not have a label.
- Return type:
 - Obtains the label associated with the link element at the hit test position. 
 - get_link_title()¶
- Returns:
- the title of the link element, or - Noneif the hit test does not cover a link element or the link element does not have a title.
- Return type:
 - Obtains the title associated with the link element at the hit test position.