Aravis.DomNamedNodeMap

g Aravis.DomNamedNodeMap Aravis.DomNamedNodeMap GObject.Object GObject.Object GObject.Object->Aravis.DomNamedNodeMap

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_item (index)

get_length ()

get_named_item (name)

remove_named_item (name)

set_named_item (item)

Virtual Methods

Inherited:

GObject.Object (7)

do_get_item (index)

do_get_length ()

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Aravis.DomNamedNodeMap(**kwargs)
Bases:

GObject.Object

Abstract:

Yes

Structure:

Aravis.DomNamedNodeMapClass

get_item(index)
Parameters:

index (int) – an index

Returns:

the ArvDomNode corresponding to index.

Return type:

Aravis.DomNode

get_length()
Return type:

int

get_named_item(name)
Parameters:

name (str) – name of the element to look for.

Returns:

a Aravis.DomElement.

Return type:

Aravis.DomNode

remove_named_item(name)
Parameters:

name (str) – name of the node to remove

Returns:

the removed node.

Return type:

Aravis.DomNode

set_named_item(item)
Parameters:

item (Aravis.DomNode) – a node to insert

Returns:

same as node on success.

Return type:

Aravis.DomNode

do_get_item(index) virtual
Parameters:

index (int) – an index

Returns:

the ArvDomNode corresponding to index.

Return type:

Aravis.DomNode

do_get_length() virtual
Return type:

int