HitTestResult
Superclasses: Object
- Constructors:
HitTestResult(**properties)
Methods
- class HitTestResult
- context_is_editable() bool
Gets whether
EDITABLE
flag is present inHitTestResult
:context.
- context_is_image() bool
Gets whether
IMAGE
flag is present inHitTestResult
:context.
- context_is_link() bool
Gets whether
LINK
flag is present inHitTestResult
:context.
- context_is_media() bool
Gets whether
MEDIA
flag is present inHitTestResult
:context.
- context_is_scrollbar() bool
Gets whether
SCROLLBAR
flag is present inHitTestResult
:context.
- context_is_selection() bool
Gets whether
SELECTION
flag is present inHitTestResult
:context.Added in version 2.8.
- get_context() int
Gets the value of the
HitTestResult
:context property.
- get_image_uri() str
Gets the value of the
HitTestResult
:image-uri property.
- get_link_label() str
Gets the value of the
HitTestResult
:link-label property.
- get_link_title() str
Gets the value of the
HitTestResult
:link-title property.
- get_link_uri() str
Gets the value of the
HitTestResult
:link-uri property.
- get_media_uri() str
Gets the value of the
HitTestResult
:media-uri property.
Properties
- class HitTestResult
- props.context: int
Bitmask of
WebKitHitTestResultContext
flags representing the context of theHitTestResult
.
- props.image_uri: str
The URI of the image if flag
IMAGE
is present inHitTestResult
:context
- props.link_label: str
The label of the link if flag
LINK
is present inHitTestResult
:context
- props.link_title: str
The title of the link if flag
LINK
is present inHitTestResult
:context
- props.link_uri: str
The URI of the link if flag
LINK
is present inHitTestResult
:context
- props.media_uri: str
The URI of the media if flag
MEDIA
is present inHitTestResult
:context