WebKit2WebExtension.DOMRange¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class WebKit2WebExtension.DOMRange(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- clone_contents()¶
- Raises:
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- clone_range()¶
- Raises:
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- collapse(toStart)¶
- Parameters:
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- compare_boundary_points(how, sourceRange)¶
- Parameters:
how (
int
) – A #gushortsourceRange (
WebKit2WebExtension.DOMRange
) – AWebKit2WebExtension.DOMRange
- Raises:
- Returns:
A #gshort
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- compare_node(refNode)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
- Returns:
A #gshort
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- compare_point(refNode, offset)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
- Returns:
A #gshort
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- create_contextual_fragment(html)¶
- Parameters:
- Raises:
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- delete_contents()¶
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- detach()¶
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- expand(unit)¶
- Parameters:
- Raises:
New in version 2.16.
Deprecated since version 2.22: Use JavaScriptCore API instead
- extract_contents()¶
- Raises:
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_collapsed()¶
- Raises:
- Returns:
A
bool
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_common_ancestor_container()¶
- Raises:
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_end_container()¶
- Raises:
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_end_offset()¶
- Raises:
- Returns:
A
int
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_start_container()¶
- Raises:
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_start_offset()¶
- Raises:
- Returns:
A
int
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_text()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- insert_node(newNode)¶
- Parameters:
newNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- intersects_node(refNode)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
- Returns:
A
bool
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- is_point_in_range(refNode, offset)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
- Returns:
A
bool
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- select_node(refNode)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- select_node_contents(refNode)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- set_end(refNode, offset)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- set_end_after(refNode)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- set_end_before(refNode)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- set_start(refNode, offset)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- set_start_after(refNode)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- set_start_before(refNode)¶
- Parameters:
refNode (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- surround_contents(newParent)¶
- Parameters:
newParent (
WebKit2WebExtension.DOMNode
) – AWebKit2WebExtension.DOMNode
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
Property Details¶
- WebKit2WebExtension.DOMRange.props.common_ancestor_container¶
- Name:
common-ancestor-container
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMNode
Range:common-ancestor-container
- WebKit2WebExtension.DOMRange.props.end_container¶
- Name:
end-container
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMNode
Range:end-container
- WebKit2WebExtension.DOMRange.props.end_offset¶
- Name:
end-offset
- Type:
- Default Value:
0
- Flags:
read-only
int
Range:end-offset
- WebKit2WebExtension.DOMRange.props.start_container¶
- Name:
start-container
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMNode
Range:start-container