WebKit2WebExtension.DOMAttr

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

get_local_name ()

get_name ()

get_namespace_uri ()

get_owner_element ()

get_prefix ()

get_specified ()

get_value ()

set_value (value)

Virtual Methods

Inherited:

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

Properties

Inherited:

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

Name

Type

Flags

Short Description

local-name

str

r

read-only str Attr:local-name

name

str

r

read-only str Attr:name

namespace-uri

str

r

read-only str Attr:namespace-uri

owner-element

WebKit2WebExtension.DOMElement

r

read-only WebKit2WebExtension.DOMElement Attr:owner-element

prefix

str

r

read-only str Attr:prefix

specified

bool

r

read-only bool Attr:specified

value

str

r/w

read-write str Attr:value

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMNode

r

Class Details

class WebKit2WebExtension.DOMAttr(**kwargs)
Bases:

WebKit2WebExtension.DOMNode

Abstract:

No

Structure:

WebKit2WebExtension.DOMAttrClass

get_local_name()
Returns:

A str

Return type:

str

New in version 2.14.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_name()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_namespace_uri()
Returns:

A str

Return type:

str

New in version 2.14.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_owner_element()
Returns:

A WebKit2WebExtension.DOMElement

Return type:

WebKit2WebExtension.DOMElement

Deprecated since version 2.22: Use JavaScriptCore API instead

get_prefix()
Returns:

A str

Return type:

str

New in version 2.14.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_specified()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_value()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_value(value)
Parameters:

value (str) – A str

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMAttr.props.local_name
Name:

local-name

Type:

str

Default Value:

''

Flags:

READABLE

read-only str Attr:local-name

WebKit2WebExtension.DOMAttr.props.name
Name:

name

Type:

str

Default Value:

''

Flags:

READABLE

read-only str Attr:name

WebKit2WebExtension.DOMAttr.props.namespace_uri
Name:

namespace-uri

Type:

str

Default Value:

''

Flags:

READABLE

read-only str Attr:namespace-uri

WebKit2WebExtension.DOMAttr.props.owner_element
Name:

owner-element

Type:

WebKit2WebExtension.DOMElement

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMElement Attr:owner-element

WebKit2WebExtension.DOMAttr.props.prefix
Name:

prefix

Type:

str

Default Value:

''

Flags:

READABLE

read-only str Attr:prefix

WebKit2WebExtension.DOMAttr.props.specified
Name:

specified

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool Attr:specified

WebKit2WebExtension.DOMAttr.props.value
Name:

value

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str Attr:value