WebKit2WebExtension.DOMHTMLElement

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

Subclasses:

WebKit2WebExtension.DOMHTMLAnchorElement, WebKit2WebExtension.DOMHTMLAppletElement, WebKit2WebExtension.DOMHTMLAreaElement, WebKit2WebExtension.DOMHTMLBRElement, WebKit2WebExtension.DOMHTMLBaseElement, WebKit2WebExtension.DOMHTMLBaseFontElement, WebKit2WebExtension.DOMHTMLBodyElement, WebKit2WebExtension.DOMHTMLButtonElement, WebKit2WebExtension.DOMHTMLCanvasElement, WebKit2WebExtension.DOMHTMLDListElement, WebKit2WebExtension.DOMHTMLDirectoryElement, WebKit2WebExtension.DOMHTMLDivElement, WebKit2WebExtension.DOMHTMLEmbedElement, WebKit2WebExtension.DOMHTMLFieldSetElement, WebKit2WebExtension.DOMHTMLFontElement, WebKit2WebExtension.DOMHTMLFormElement, WebKit2WebExtension.DOMHTMLFrameElement, WebKit2WebExtension.DOMHTMLFrameSetElement, WebKit2WebExtension.DOMHTMLHRElement, WebKit2WebExtension.DOMHTMLHeadElement, WebKit2WebExtension.DOMHTMLHeadingElement, WebKit2WebExtension.DOMHTMLHtmlElement, WebKit2WebExtension.DOMHTMLIFrameElement, WebKit2WebExtension.DOMHTMLImageElement, WebKit2WebExtension.DOMHTMLInputElement, WebKit2WebExtension.DOMHTMLLIElement, WebKit2WebExtension.DOMHTMLLabelElement, WebKit2WebExtension.DOMHTMLLegendElement, WebKit2WebExtension.DOMHTMLLinkElement, WebKit2WebExtension.DOMHTMLMapElement, WebKit2WebExtension.DOMHTMLMarqueeElement, WebKit2WebExtension.DOMHTMLMenuElement, WebKit2WebExtension.DOMHTMLMetaElement, WebKit2WebExtension.DOMHTMLModElement, WebKit2WebExtension.DOMHTMLOListElement, WebKit2WebExtension.DOMHTMLObjectElement, WebKit2WebExtension.DOMHTMLOptGroupElement, WebKit2WebExtension.DOMHTMLOptionElement, WebKit2WebExtension.DOMHTMLParagraphElement, WebKit2WebExtension.DOMHTMLParamElement, WebKit2WebExtension.DOMHTMLPreElement, WebKit2WebExtension.DOMHTMLQuoteElement, WebKit2WebExtension.DOMHTMLScriptElement, WebKit2WebExtension.DOMHTMLSelectElement, WebKit2WebExtension.DOMHTMLStyleElement, WebKit2WebExtension.DOMHTMLTableCaptionElement, WebKit2WebExtension.DOMHTMLTableCellElement, WebKit2WebExtension.DOMHTMLTableColElement, WebKit2WebExtension.DOMHTMLTableElement, WebKit2WebExtension.DOMHTMLTableRowElement, WebKit2WebExtension.DOMHTMLTableSectionElement, WebKit2WebExtension.DOMHTMLTextAreaElement, WebKit2WebExtension.DOMHTMLTitleElement, WebKit2WebExtension.DOMHTMLUListElement

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

click ()

get_access_key ()

get_children ()

get_content_editable ()

get_dir ()

get_draggable ()

get_hidden ()

get_inner_html ()

get_inner_text ()

get_is_content_editable ()

get_lang ()

get_outer_html ()

get_outer_text ()

get_spellcheck ()

get_tab_index ()

get_title ()

get_translate ()

get_webkitdropzone ()

set_access_key (value)

set_content_editable (value)

set_dir (value)

set_draggable (value)

set_hidden (value)

set_inner_html (contents)

set_inner_text (value)

set_lang (value)

set_outer_html (contents)

set_outer_text (value)

set_spellcheck (value)

set_tab_index (value)

set_title (value)

set_translate (value)

set_webkitdropzone (value)

Virtual Methods

Inherited:

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

Properties

Inherited:

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

Name

Type

Flags

Short Description

access-key

str

r/w

read-write str HTMLElement:access-key

content-editable

str

r/w

read-write str HTMLElement:content-editable

dir

str

r/w

read-write str HTMLElement:dir

draggable

bool

r/w

read-write bool HTMLElement:draggable

hidden

bool

r/w

read-write bool HTMLElement:hidden

inner-text

str

r/w

read-write str HTMLElement:inner-text

is-content-editable

bool

r

read-only bool HTMLElement:is-content-editable

lang

str

r/w

read-write str HTMLElement:lang

outer-text

str

r/w

read-write str HTMLElement:outer-text

spellcheck

bool

r/w

read-write bool HTMLElement:spellcheck

tab-index

r/w

read-write int HTMLElement:tab-index

title

str

r/w

read-write str HTMLElement:title

translate

bool

r/w

read-write bool HTMLElement:translate

webkitdropzone

str

r/w

read-write str HTMLElement:webkitdropzone

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMElement

r

Class Details

class WebKit2WebExtension.DOMHTMLElement(**kwargs)
Bases:

WebKit2WebExtension.DOMElement

Abstract:

No

Structure:

WebKit2WebExtension.DOMHTMLElementClass

click()

Deprecated since version 2.22: Use JavaScriptCore API instead

get_access_key()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_children()
Returns:

A WebKit2WebExtension.DOMHTMLCollection

Return type:

WebKit2WebExtension.DOMHTMLCollection

Deprecated since version 2.10: Use WebKit2WebExtension.DOMElement.get_children() instead.

get_content_editable()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_dir()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_draggable()
Returns:

A bool

Return type:

bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_hidden()
Returns:

A bool

Return type:

bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_inner_html()
Returns:

a str

Return type:

str

Deprecated since version 2.8: Use WebKit2WebExtension.DOMElement.get_inner_html() instead.

get_inner_text()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_is_content_editable()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_lang()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_outer_html()
Returns:

a str

Return type:

str

Deprecated since version 2.8: Use WebKit2WebExtension.DOMElement.get_outer_html() instead.

get_outer_text()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_spellcheck()
Returns:

A bool

Return type:

bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_tab_index()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_title()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_translate()
Returns:

A bool

Return type:

bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_webkitdropzone()
Returns:

A str

Return type:

str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

set_access_key(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_content_editable(value)
Parameters:

value (str) – A str

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

set_dir(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_draggable(value)
Parameters:

value (bool) – A bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

set_hidden(value)
Parameters:

value (bool) – A bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

set_inner_html(contents)
Parameters:

contents (str) – a str with contents to set

Raises:

GLib.Error

Deprecated since version 2.8: Use WebKit2WebExtension.DOMElement.set_inner_html() instead.

set_inner_text(value)
Parameters:

value (str) – A str

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

set_lang(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_outer_html(contents)
Parameters:

contents (str) – a str with contents to set

Raises:

GLib.Error

Deprecated since version 2.8: Use WebKit2WebExtension.DOMElement.set_outer_html() instead.

set_outer_text(value)
Parameters:

value (str) – A str

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

set_spellcheck(value)
Parameters:

value (bool) – A bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

set_tab_index(value)
Parameters:

value (int) – A int

Deprecated since version 2.22: Use JavaScriptCore API instead

set_title(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_translate(value)
Parameters:

value (bool) – A bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

set_webkitdropzone(value)
Parameters:

value (str) – A str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMHTMLElement.props.access_key
Name:

access-key

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLElement:access-key

WebKit2WebExtension.DOMHTMLElement.props.content_editable
Name:

content-editable

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLElement:content-editable

WebKit2WebExtension.DOMHTMLElement.props.dir
Name:

dir

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLElement:dir

WebKit2WebExtension.DOMHTMLElement.props.draggable
Name:

draggable

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool HTMLElement:draggable

WebKit2WebExtension.DOMHTMLElement.props.hidden
Name:

hidden

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool HTMLElement:hidden

WebKit2WebExtension.DOMHTMLElement.props.inner_text
Name:

inner-text

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLElement:inner-text

WebKit2WebExtension.DOMHTMLElement.props.is_content_editable
Name:

is-content-editable

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool HTMLElement:is-content-editable

WebKit2WebExtension.DOMHTMLElement.props.lang
Name:

lang

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLElement:lang

WebKit2WebExtension.DOMHTMLElement.props.outer_text
Name:

outer-text

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLElement:outer-text

WebKit2WebExtension.DOMHTMLElement.props.spellcheck
Name:

spellcheck

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool HTMLElement:spellcheck

WebKit2WebExtension.DOMHTMLElement.props.tab_index
Name:

tab-index

Type:

Default Value:

0

Flags:

READABLE, WRITABLE

read-write int HTMLElement:tab-index

WebKit2WebExtension.DOMHTMLElement.props.title
Name:

title

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLElement:title

WebKit2WebExtension.DOMHTMLElement.props.translate
Name:

translate

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool HTMLElement:translate

WebKit2WebExtension.DOMHTMLElement.props.webkitdropzone
Name:

webkitdropzone

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLElement:webkitdropzone