Package pyjsdl :: Module display :: Class Textarea

Class Textarea

pyjsobj.Element --+        
                  |        
    pyjsobj.TextBox --+    
                      |    
       pyjsobj.TextArea --+
                          |
                         Textarea

TextArea object for text input/output. Optional argument size (x,y) of textarea and panel to hold element. Default size derived from Canvas size placed in lower VerticalPanel.
Instance Methods
 
__init__(self, size=None, panel=None)
 
resize(self, width=None, height=None)
 
toggle(self, visible=None)

Inherited from pyjsobj.TextBox: getText, getVisible, setText, setVisible, value

Inherited from pyjsobj.Element: addEventListener, appendChild, blur, click, focus, getAttribute, getAttributes, getBoundingClientRect, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElement, getID, getMouseWheelEventType, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTitle, removeChild, removeEventListener, setAttribute, setElement, setHeight, setID, setSize, setTitle, setWidth, style

Method Details

__init__(self, size=None, panel=None)
(Constructor)

 
Overrides: pyjsobj.Element.__init__