HTMLButtonElement Class Reference
from PyKDE4.khtml import *
Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM
Detailed Description
Push button. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-BUTTON">
BUTTON element definition  in HTML 4.0.
Method Documentation
A single character access key to give access to the form
control. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey">
accesskey attribute definition  in HTML 4.0.
 
Removes keyboard focus from this element.
 
The control is unavailable in this context. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled">
disabled attribute definition  in HTML 4.0.
 
Gives keyboard focus to this element.
 
Returns the FORM element containing this
control. Returns null if this control is not within the context
of a form.
 
Form control or object name when submitted with a form. See the
<a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-BUTTON">
name attribute definition  in HTML 4.0.
 
| setDisabled | ( | self, |  | 
|  |  | bool | a0 | 
|  | ) |  |  |  | 
 
 
| setTabIndex | ( | self, |  | 
|  |  | long | a0 | 
|  | ) |  |  |  | 
 
 
Index that represents the element's position in the tabbing
order. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex">
tabindex attribute definition  in HTML 4.0.
 
The type of button. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-type-BUTTON">
type attribute definition  in HTML 4.0.
 
The current form control value. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-value-BUTTON">
value attribute definition  in HTML 4.0.