KDE 4.5 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

HTMLTextAreaElement Class Reference

from PyKDE4.khtml import *

Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM

Detailed Description

Multi-line text field. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-TEXTAREA"> TEXTAREA element definition in HTML 4.0.


Methods

 __init__ (self)
 __init__ (self, DOM.HTMLTextAreaElement other)
 __init__ (self, DOM.Node other)
DOM.DOMString accessKey (self)
 blur (self)
long cols (self)
DOM.DOMString defaultValue (self)
bool disabled (self)
 focus (self)
DOM.HTMLFormElement form (self)
DOM.DOMString name (self)
bool readOnly (self)
long rows (self)
 select (self)
long selectionEnd (self)
long selectionStart (self)
 setAccessKey (self, DOM.DOMString a0)
 setCols (self, long a0)
 setDefaultValue (self, DOM.DOMString a0)
 setDisabled (self, bool a0)
 setName (self, DOM.DOMString a0)
 setReadOnly (self, bool a0)
 setRows (self, long a0)
 setSelectionEnd (self, long offset)
 setSelectionRange (self, long start, long end)
 setSelectionStart (self, long offset)
 setTabIndex (self, long a0)
 setValue (self, DOM.DOMString a0)
long tabIndex (self)
long textLength (self)
DOM.DOMString type (self)
DOM.DOMString value (self)

Method Documentation

__init__ (   self )
__init__ (  self,
DOM.HTMLTextAreaElement  other
)
__init__ (  self,
DOM.Node  other
)
DOM.DOMString accessKey (   self )

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.

blur (   self )

Removes keyboard focus from this element.

long cols (   self )

Width of control (in characters). See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-cols-TEXTAREA"> cols attribute definition in HTML 4.0.

DOM.DOMString defaultValue (   self )

Stores the initial control value (i.e., the initial value of value ).

bool disabled (   self )

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.

focus (   self )

Gives keyboard focus to this element.

DOM.HTMLFormElement form (   self )

### KDE 4.0: remove.

DOM.DOMString name (   self )

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-TEXTAREA"> name attribute definition in HTML 4.0.

bool readOnly (   self )

This control is read-only. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-readonly"> readonly attribute definition in HTML 4.0.

long rows (   self )

Number of text rows. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-rows-TEXTAREA"> rows attribute definition in HTML 4.0.

select (   self )

Select the contents of the TEXTAREA .

long selectionEnd (   self )

Returns the character offset of end of selection, or if none, the cursor position. NOTE: this method is not part of the DOM, but a Mozilla extension

long selectionStart (   self )

Returns the character offset of beginning of selection, or if none, the cursor position. NOTE: this method is not part of the DOM, but a Mozilla extension

setAccessKey (  self,
DOM.DOMString  a0
)

see accessKey

setCols (  self,
long  a0
)

see cols

setDefaultValue (  self,
DOM.DOMString  a0
)

see defaultValue

setDisabled (  self,
bool  a0
)

see disabled

setName (  self,
DOM.DOMString  a0
)

see name

setReadOnly (  self,
bool  a0
)

see readOnly

setRows (  self,
long  a0
)

see rows

setSelectionEnd (  self,
long  offset
)

Move the end of the selection (and the cursor) to the given offset in text NOTE: this method is not part of the DOM, but a Mozilla extension

setSelectionRange (  self,
long  start,
long  end
)

Selects the text from start to end, and positions the cursor after the selection. NOTE: this method is not part of the DOM, but a Mozilla extension

setSelectionStart (  self,
long  offset
)

Move the beginning of the selection to the given offset in text NOTE: this method is not part of the DOM, but a Mozilla extension

setTabIndex (  self,
long  a0
)

see tabIndex

setValue (  self,
DOM.DOMString  a0
)

see value

long tabIndex (   self )

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.

long textLength (   self )

Returns the length of the text. NOTE: this method is not part of the DOM, but a Mozilla extension

DOM.DOMString type (   self )

The type of this form control.

DOM.DOMString value (   self )

The current textual content of the multi-line text field. If the entirety of the data can not fit into a single wstring, the implementation may truncate the data.

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal