WebKit2WebExtension.DOMHTMLOptionElement

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

get_default_selected ()

get_disabled ()

get_form ()

get_index ()

get_label ()

get_selected ()

get_text ()

get_value ()

set_default_selected (value)

set_disabled (value)

set_label (value)

set_selected (value)

set_value (value)

Virtual Methods

Inherited:

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

Properties

Inherited:

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

Name

Type

Flags

Short Description

default-selected

bool

r/w

read-write bool HTMLOptionElement:default-selected

disabled

bool

r/w

read-write bool HTMLOptionElement:disabled

form

WebKit2WebExtension.DOMHTMLFormElement

r

read-only WebKit2WebExtension.DOMHTMLFormElement HTMLOptionElement:form

index

r

read-only int HTMLOptionElement:index

label

str

r/w

read-write str HTMLOptionElement:label

selected

bool

r/w

read-write bool HTMLOptionElement:selected

text

str

r

read-only str HTMLOptionElement:text

value

str

r/w

read-write str HTMLOptionElement:value

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMHTMLElement

r

Class Details

class WebKit2WebExtension.DOMHTMLOptionElement(**kwargs)
Bases:

WebKit2WebExtension.DOMHTMLElement

Abstract:

No

Structure:

WebKit2WebExtension.DOMHTMLOptionElementClass

get_default_selected()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_disabled()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_form()
Returns:

A WebKit2WebExtension.DOMHTMLFormElement

Return type:

WebKit2WebExtension.DOMHTMLFormElement

Deprecated since version 2.22: Use JavaScriptCore API instead

get_index()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_label()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_selected()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_text()
Returns:

A str

Return type:

str

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_default_selected(value)
Parameters:

value (bool) – A bool

Deprecated since version 2.22: Use JavaScriptCore API instead

set_disabled(value)
Parameters:

value (bool) – A bool

Deprecated since version 2.22: Use JavaScriptCore API instead

set_label(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_selected(value)
Parameters:

value (bool) – A bool

Deprecated since version 2.22: Use JavaScriptCore API instead

set_value(value)
Parameters:

value (str) – A str

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMHTMLOptionElement.props.default_selected
Name:

default-selected

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool HTMLOptionElement:default-selected

WebKit2WebExtension.DOMHTMLOptionElement.props.disabled
Name:

disabled

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool HTMLOptionElement:disabled

WebKit2WebExtension.DOMHTMLOptionElement.props.form
Name:

form

Type:

WebKit2WebExtension.DOMHTMLFormElement

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMHTMLFormElement HTMLOptionElement:form

WebKit2WebExtension.DOMHTMLOptionElement.props.index
Name:

index

Type:

Default Value:

0

Flags:

READABLE

read-only int HTMLOptionElement:index

WebKit2WebExtension.DOMHTMLOptionElement.props.label
Name:

label

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLOptionElement:label

WebKit2WebExtension.DOMHTMLOptionElement.props.selected
Name:

selected

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool HTMLOptionElement:selected

WebKit2WebExtension.DOMHTMLOptionElement.props.text
Name:

text

Type:

str

Default Value:

''

Flags:

READABLE

read-only str HTMLOptionElement:text

WebKit2WebExtension.DOMHTMLOptionElement.props.value
Name:

value

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str HTMLOptionElement:value