WebKit2WebExtension.DOMHTMLOptionsCollection

g GObject.Object GObject.Object WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMObject GObject.Object->WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMHTMLCollection WebKit2WebExtension.DOMHTMLCollection WebKit2WebExtension.DOMHTMLOptionsCollection WebKit2WebExtension.DOMHTMLOptionsCollection WebKit2WebExtension.DOMHTMLCollection->WebKit2WebExtension.DOMHTMLOptionsCollection WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMHTMLCollection

Subclasses:None

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:WebKit2WebExtension.DOMHTMLCollection (1), WebKit2WebExtension.DOMObject (1)
Name Type Flags Short Description
selected-index   r/w read-write int HTMLOptionsCollection:selected-index

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance WebKit2WebExtension.DOMHTMLCollection r  

Class Details

class WebKit2WebExtension.DOMHTMLOptionsCollection(**kwargs)
Bases:WebKit2WebExtension.DOMHTMLCollection
Abstract:No
Structure:WebKit2WebExtension.DOMHTMLOptionsCollectionClass
get_length()
Returns:A int
Return type:int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_selected_index()
Returns:A int
Return type:int

Deprecated since version 2.22: Use JavaScriptCore API instead

named_item(name)
Parameters:name (str) – A str
Returns:A WebKit2WebExtension.DOMNode
Return type:WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

set_selected_index(value)
Parameters:value (int) – A int

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMHTMLOptionsCollection.props.selected_index
Name:selected-index
Type:
Default Value:0
Flags:READABLE, WRITABLE

read-write int HTMLOptionsCollection:selected-index