WebKit2WebExtension.DOMDocumentFragment

g GObject.GInterface GObject.GInterface WebKit2WebExtension.DOMEventTarget WebKit2WebExtension.DOMEventTarget GObject.GInterface->WebKit2WebExtension.DOMEventTarget GObject.Object GObject.Object WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMObject GObject.Object->WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMDocumentFragment WebKit2WebExtension.DOMDocumentFragment WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMEventTarget->WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMNode->WebKit2WebExtension.DOMDocumentFragment WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMNode

Subclasses:None

Properties

Inherited:WebKit2WebExtension.DOMNode (13), WebKit2WebExtension.DOMObject (1)
Name Type Flags Short Description
child-element-count int r read-only int DocumentFragment:child-element-count
children WebKit2WebExtension.DOMHTMLCollection r read-only WebKit2WebExtension.DOMHTMLCollection DocumentFragment:children
first-element-child WebKit2WebExtension.DOMElement r read-only WebKit2WebExtension.DOMElement DocumentFragment:first-element-child
last-element-child WebKit2WebExtension.DOMElement r read-only WebKit2WebExtension.DOMElement DocumentFragment:last-element-child

Signals

Inherited:GObject.Object (1)

Fields

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

Class Details

class WebKit2WebExtension.DOMDocumentFragment(**kwargs)
Bases:WebKit2WebExtension.DOMNode
Abstract:No
Structure:WebKit2WebExtension.DOMDocumentFragmentClass
get_child_element_count()
Returns:A int
Return type:int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_children()
Returns:A WebKit2WebExtension.DOMHTMLCollection
Return type:WebKit2WebExtension.DOMHTMLCollection

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_element_by_id(elementId)
Parameters:elementId (str) – A str
Returns:A WebKit2WebExtension.DOMElement
Return type:WebKit2WebExtension.DOMElement

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_first_element_child()
Returns:A WebKit2WebExtension.DOMElement
Return type:WebKit2WebExtension.DOMElement

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_last_element_child()
Returns:A WebKit2WebExtension.DOMElement
Return type:WebKit2WebExtension.DOMElement

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

query_selector(selectors)
Parameters:selectors (str) – A str
Raises:GLib.Error
Returns:A WebKit2WebExtension.DOMElement
Return type:WebKit2WebExtension.DOMElement

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

query_selector_all(selectors)
Parameters:selectors (str) – A str
Raises:GLib.Error
Returns:A WebKit2WebExtension.DOMNodeList
Return type:WebKit2WebExtension.DOMNodeList

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMDocumentFragment.props.child_element_count
Name:child-element-count
Type:int
Default Value:0
Flags:READABLE

read-only int DocumentFragment:child-element-count

WebKit2WebExtension.DOMDocumentFragment.props.children
Name:children
Type:WebKit2WebExtension.DOMHTMLCollection
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMHTMLCollection DocumentFragment:children

WebKit2WebExtension.DOMDocumentFragment.props.first_element_child
Name:first-element-child
Type:WebKit2WebExtension.DOMElement
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMElement DocumentFragment:first-element-child

WebKit2WebExtension.DOMDocumentFragment.props.last_element_child
Name:last-element-child
Type:WebKit2WebExtension.DOMElement
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMElement DocumentFragment:last-element-child