WebKit2WebExtension.DOMCharacterData

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.DOMCharacterData WebKit2WebExtension.DOMCharacterData WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMEventTarget->WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMNode->WebKit2WebExtension.DOMCharacterData WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMNode

Subclasses:

WebKit2WebExtension.DOMComment, WebKit2WebExtension.DOMProcessingInstruction, WebKit2WebExtension.DOMText

Methods

Inherited:

WebKit2WebExtension.DOMNode (36), GObject.Object (37), WebKit2WebExtension.DOMEventTarget (3)

Structs:

GObject.ObjectClass (5)

append_data (data)

delete_data (offset, length)

get_data ()

get_length ()

insert_data (offset, data)

replace_data (offset, length, data)

set_data (value)

substring_data (offset, length)

Virtual Methods

Inherited:

GObject.Object (7), WebKit2WebExtension.DOMEventTarget (3)

Properties

Inherited:

WebKit2WebExtension.DOMNode (13), WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

data

str

r/w

read-write str CharacterData:data

length

int

r

read-only int CharacterData:length

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMNode

r

Class Details

class WebKit2WebExtension.DOMCharacterData(**kwargs)
Bases:

WebKit2WebExtension.DOMNode

Abstract:

No

Structure:

WebKit2WebExtension.DOMCharacterDataClass

append_data(data)
Parameters:

data (str) – A str

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

delete_data(offset, length)
Parameters:
Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

get_data()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_length()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

insert_data(offset, data)
Parameters:
Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

replace_data(offset, length, data)
Parameters:
Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

set_data(value)
Parameters:

value (str) – A str

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

substring_data(offset, length)
Parameters:
Raises:

GLib.Error

Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMCharacterData.props.data
Name:

data

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str CharacterData:data

WebKit2WebExtension.DOMCharacterData.props.length
Name:

length

Type:

int

Default Value:

0

Flags:

READABLE

read-only int CharacterData:length