WebKit2WebExtension.DOMHTMLDocument

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

capture_events ()

clear ()

close ()

get_alink_color ()

get_bg_color ()

get_compat_mode ()

get_design_mode ()

get_dir ()

get_embeds ()

get_fg_color ()

get_height ()

get_link_color ()

get_plugins ()

get_scripts ()

get_vlink_color ()

get_width ()

release_events ()

set_alink_color (value)

set_bg_color (value)

set_design_mode (value)

set_dir (value)

set_fg_color (value)

set_link_color (value)

set_vlink_color (value)

Virtual Methods

Inherited:

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

Properties

Inherited:

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

Name

Type

Flags

Short Description

alink-color

str

r/w

read-write str HTMLDocument:alink-color

bg-color

str

r/w

read-write str HTMLDocument:bg-color

fg-color

str

r/w

read-write str HTMLDocument:fg-color

height

r

read-only int HTMLDocument:height

link-color

str

r/w

read-write str HTMLDocument:link-color

vlink-color

str

r/w

read-write str HTMLDocument:vlink-color

width

r

read-only int HTMLDocument:width

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMDocument

r

Class Details

class WebKit2WebExtension.DOMHTMLDocument(**kwargs)
Bases:

WebKit2WebExtension.DOMDocument

Abstract:

No

Structure:

WebKit2WebExtension.DOMHTMLDocumentClass

capture_events()

Deprecated since version 2.22: Use JavaScriptCore API instead

clear()

Deprecated since version 2.22: Use JavaScriptCore API instead

close()

Deprecated since version 2.22: Use JavaScriptCore API instead

Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_bg_color()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_compat_mode()
Returns:

A str

Return type:

str

Deprecated since version 2.14: Use WebKit2WebExtension.DOMDocument.get_compat_mode() instead.

get_design_mode()
Returns:

A str

Return type:

str

Deprecated since version 2.14: Use WebKit2WebExtension.DOMDocument.get_design_mode() instead.

get_dir()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_embeds()
Returns:

A WebKit2WebExtension.DOMHTMLCollection

Return type:

WebKit2WebExtension.DOMHTMLCollection

Deprecated since version 2.14: Use WebKit2WebExtension.DOMDocument.get_embeds() instead.

get_fg_color()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_height()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_plugins()
Returns:

A WebKit2WebExtension.DOMHTMLCollection

Return type:

WebKit2WebExtension.DOMHTMLCollection

Deprecated since version 2.14: Use WebKit2WebExtension.DOMDocument.get_plugins() instead.

get_scripts()
Returns:

A WebKit2WebExtension.DOMHTMLCollection

Return type:

WebKit2WebExtension.DOMHTMLCollection

Deprecated since version 2.14: Use WebKit2WebExtension.DOMDocument.get_scripts() instead.

Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_width()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

release_events()

Deprecated since version 2.22: Use JavaScriptCore API instead

Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_bg_color(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_design_mode(value)
Parameters:

value (str) – A str

Deprecated since version 2.14: Use WebKit2WebExtension.DOMDocument.set_design_mode() instead.

set_dir(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_fg_color(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

Name:

alink-color

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLDocument:alink-color

WebKit2WebExtension.DOMHTMLDocument.props.bg_color
Name:

bg-color

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLDocument:bg-color

WebKit2WebExtension.DOMHTMLDocument.props.fg_color
Name:

fg-color

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLDocument:fg-color

WebKit2WebExtension.DOMHTMLDocument.props.height
Name:

height

Type:

Default Value:

0

Flags:

READABLE

read-only int HTMLDocument:height

Name:

link-color

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLDocument:link-color

Name:

vlink-color

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLDocument:vlink-color

WebKit2WebExtension.DOMHTMLDocument.props.width
Name:

width

Type:

Default Value:

0

Flags:

READABLE

read-only int HTMLDocument:width