Package web :: Package web :: Module form :: Class Textbox
[hide private]
[frames] | no frames]

Class Textbox

source code

object --+    
         |    
     Input --+
             |
            Textbox

Textbox input.

>>> Textbox(name='foo', value='bar').render()
'<input type="text" id="foo" value="bar" name="foo"/>'
>>> Textbox(name='foo', value=0).render()
'<input type="text" id="foo" value="0" name="foo"/>'
Instance Methods [hide private]
 
get_type(self) source code

Inherited from Input: __init__, addatts, get_default_id, get_value, is_hidden, render, rendernote, set_value, validate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_type(self)

source code 
Overrides: Input.get_type