WebKit2WebExtension.DOMNamedNodeMap

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

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_length ()

get_named_item (name)

get_named_item_ns (namespaceURI, localName)

item (index)

remove_named_item (name)

remove_named_item_ns (namespaceURI, localName)

set_named_item (node)

set_named_item_ns (node)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

length

int

r

read-only int NamedNodeMap:length

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMObject

r

Class Details

class WebKit2WebExtension.DOMNamedNodeMap(**kwargs)
Bases:

WebKit2WebExtension.DOMObject

Abstract:

No

Structure:

WebKit2WebExtension.DOMNamedNodeMapClass

get_length()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_named_item(name)
Parameters:

name (str) – A str

Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

get_named_item_ns(namespaceURI, localName)
Parameters:
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

item(index)
Parameters:

index (int) – A int

Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

remove_named_item(name)
Parameters:

name (str) – A str

Raises:

GLib.Error

Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

remove_named_item_ns(namespaceURI, localName)
Parameters:
Raises:

GLib.Error

Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

set_named_item(node)
Parameters:

node (WebKit2WebExtension.DOMNode) – A WebKit2WebExtension.DOMNode

Raises:

GLib.Error

Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

set_named_item_ns(node)
Parameters:

node (WebKit2WebExtension.DOMNode) – A WebKit2WebExtension.DOMNode

Raises:

GLib.Error

Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMNamedNodeMap.props.length
Name:

length

Type:

int

Default Value:

0

Flags:

READABLE

read-only int NamedNodeMap:length