Package pyjsdl :: Module display :: Class Textbox

Class Textbox

pyjsobj.Element --+    
                  |    
    pyjsobj.TextBox --+
                      |
                     Textbox

TextBox object for text input. Optional argument size (x,y) of textbox 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__