WebKit2WebExtension.DOMXPathResult

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

Subclasses:None

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:WebKit2WebExtension.DOMObject (1)
Name Type Flags Short Description
boolean-value bool r read-only bool XPathResult:boolean-value
invalid-iterator-state bool r read-only bool XPathResult:invalid-iterator-state
number-value float r read-only float XPathResult:number-value
result-type int r read-only gushort XPathResult:result-type
single-node-value WebKit2WebExtension.DOMNode r read-only WebKit2WebExtension.DOMNode XPathResult:single-node-value
snapshot-length int r read-only int XPathResult:snapshot-length
string-value str r read-only str XPathResult:string-value

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance WebKit2WebExtension.DOMObject r  

Class Details

class WebKit2WebExtension.DOMXPathResult(**kwargs)
Bases:WebKit2WebExtension.DOMObject
Abstract:No
Structure:WebKit2WebExtension.DOMXPathResultClass
get_boolean_value()
Raises:GLib.Error
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_invalid_iterator_state()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_number_value()
Raises:GLib.Error
Returns:A float
Return type:float

Deprecated since version 2.22: Use JavaScriptCore API instead

get_result_type()
Returns:A #gushort
Return type:int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_single_node_value()
Raises:GLib.Error
Returns:A WebKit2WebExtension.DOMNode
Return type:WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

get_snapshot_length()
Raises:GLib.Error
Returns:A int
Return type:int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_string_value()
Raises:GLib.Error
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

iterate_next()
Raises:GLib.Error
Returns:A WebKit2WebExtension.DOMNode
Return type:WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

snapshot_item(index)
Parameters:index (int) – A int
Raises:GLib.Error
Returns:A WebKit2WebExtension.DOMNode
Return type:WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMXPathResult.props.boolean_value
Name:boolean-value
Type:bool
Default Value:False
Flags:READABLE

read-only bool XPathResult:boolean-value

WebKit2WebExtension.DOMXPathResult.props.invalid_iterator_state
Name:invalid-iterator-state
Type:bool
Default Value:False
Flags:READABLE

read-only bool XPathResult:invalid-iterator-state

WebKit2WebExtension.DOMXPathResult.props.number_value
Name:number-value
Type:float
Default Value:0.0
Flags:READABLE

read-only float XPathResult:number-value

WebKit2WebExtension.DOMXPathResult.props.result_type
Name:result-type
Type:int
Default Value:0
Flags:READABLE

read-only gushort XPathResult:result-type

WebKit2WebExtension.DOMXPathResult.props.single_node_value
Name:single-node-value
Type:WebKit2WebExtension.DOMNode
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMNode XPathResult:single-node-value

WebKit2WebExtension.DOMXPathResult.props.snapshot_length
Name:snapshot-length
Type:int
Default Value:0
Flags:READABLE

read-only int XPathResult:snapshot-length

WebKit2WebExtension.DOMXPathResult.props.string_value
Name:string-value
Type:str
Default Value:''
Flags:READABLE

read-only str XPathResult:string-value