WebKit2WebExtension.DOMTreeWalker

g GObject.Object GObject.Object WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMObject GObject.Object->WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMTreeWalker WebKit2WebExtension.DOMTreeWalker WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMTreeWalker

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

first_child ()

get_current_node ()

get_expand_entity_references ()

get_filter ()

get_root ()

get_what_to_show ()

last_child ()

next_node ()

next_sibling ()

parent_node ()

previous_node ()

previous_sibling ()

set_current_node (value)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

current-node

WebKit2WebExtension.DOMNode

r

read-only WebKit2WebExtension.DOMNode TreeWalker:current-node

filter

WebKit2WebExtension.DOMNodeFilter

r

read-only WebKit2WebExtension.DOMNodeFilter TreeWalker:filter

root

WebKit2WebExtension.DOMNode

r

read-only WebKit2WebExtension.DOMNode TreeWalker:root

what-to-show

int

r

read-only int TreeWalker:what-to-show

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMObject

r

Class Details

class WebKit2WebExtension.DOMTreeWalker(**kwargs)
Bases:

WebKit2WebExtension.DOMObject

Abstract:

No

Structure:

WebKit2WebExtension.DOMTreeWalkerClass

first_child()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

get_current_node()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

get_expand_entity_references()
Returns:

A bool

Return type:

bool

This function has been removed from the DOM spec and it just returns False.

Deprecated since version 2.12.

get_filter()
Returns:

A WebKit2WebExtension.DOMNodeFilter

Return type:

WebKit2WebExtension.DOMNodeFilter

Deprecated since version 2.22: Use JavaScriptCore API instead

get_root()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

get_what_to_show()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

last_child()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

next_node()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

next_sibling()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

parent_node()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

previous_node()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

previous_sibling()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

set_current_node(value)
Parameters:

value (WebKit2WebExtension.DOMNode) – A WebKit2WebExtension.DOMNode

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMTreeWalker.props.current_node
Name:

current-node

Type:

WebKit2WebExtension.DOMNode

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMNode TreeWalker:current-node

WebKit2WebExtension.DOMTreeWalker.props.filter
Name:

filter

Type:

WebKit2WebExtension.DOMNodeFilter

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMNodeFilter TreeWalker:filter

WebKit2WebExtension.DOMTreeWalker.props.root
Name:

root

Type:

WebKit2WebExtension.DOMNode

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMNode TreeWalker:root

WebKit2WebExtension.DOMTreeWalker.props.what_to_show
Name:

what-to-show

Type:

int

Default Value:

0

Flags:

READABLE

read-only int TreeWalker:what-to-show