WebKit2WebExtension.DOMHTMLButtonElement

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

Subclasses:None

Properties

Inherited:WebKit2WebExtension.DOMHTMLElement (14), WebKit2WebExtension.DOMElement (31), WebKit2WebExtension.DOMNode (13), WebKit2WebExtension.DOMObject (1)
Name Type Flags Short Description
autofocus bool r/w read-write bool HTMLButtonElement:autofocus
disabled bool r/w read-write bool HTMLButtonElement:disabled
form WebKit2WebExtension.DOMHTMLFormElement r read-only WebKit2WebExtension.DOMHTMLFormElement HTMLButtonElement:form
name str r/w read-write str HTMLButtonElement:name
type str r/w read-write str HTMLButtonElement:type
value str r/w read-write str HTMLButtonElement:value
will-validate bool r read-only bool HTMLButtonElement:will-validate

Signals

Inherited:GObject.Object (1)

Fields

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

Class Details

class WebKit2WebExtension.DOMHTMLButtonElement(**kwargs)
Bases:WebKit2WebExtension.DOMHTMLElement
Abstract:No
Structure:WebKit2WebExtension.DOMHTMLButtonElementClass
get_autofocus()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_button_type()
Returns:A str
Return type:str

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_name()
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

get_will_validate()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

set_autofocus(value)
Parameters:value (bool) – A bool

Deprecated since version 2.22: Use JavaScriptCore API instead

set_button_type(value)
Parameters:value (str) – A str

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_name(value)
Parameters:value (str) – A str

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.DOMHTMLButtonElement.props.autofocus
Name:autofocus
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

read-write bool HTMLButtonElement:autofocus

WebKit2WebExtension.DOMHTMLButtonElement.props.disabled
Name:disabled
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

read-write bool HTMLButtonElement:disabled

WebKit2WebExtension.DOMHTMLButtonElement.props.form
Name:form
Type:WebKit2WebExtension.DOMHTMLFormElement
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMHTMLFormElement HTMLButtonElement:form

WebKit2WebExtension.DOMHTMLButtonElement.props.name
Name:name
Type:str
Default Value:''
Flags:READABLE, WRITABLE

read-write str HTMLButtonElement:name

WebKit2WebExtension.DOMHTMLButtonElement.props.type
Name:type
Type:str
Default Value:''
Flags:READABLE, WRITABLE

read-write str HTMLButtonElement:type

WebKit2WebExtension.DOMHTMLButtonElement.props.value
Name:value
Type:str
Default Value:''
Flags:READABLE, WRITABLE

read-write str HTMLButtonElement:value

WebKit2WebExtension.DOMHTMLButtonElement.props.will_validate
Name:will-validate
Type:bool
Default Value:False
Flags:READABLE

read-only bool HTMLButtonElement:will-validate