Public Member Functions | Public Attributes | Properties | Private Member Functions | Private Attributes
webtest.forms.Select Class Reference
Inheritance diagram for webtest.forms.Select:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def force_value
def select
def value__get
def value__set

Public Attributes

 options
 selectedIndex

Properties

 value = property(value__get, value__set)

Private Member Functions

def _get_value_for_text

Private Attributes

 _forced_value

Detailed Description

Field representing ``<select />`` form element.

Definition at line 99 of file forms.py.


Constructor & Destructor Documentation

def webtest.forms.Select.__init__ (   self,
  args,
  attrs 
)

Definition at line 102 of file forms.py.


Member Function Documentation

def webtest.forms.Select._get_value_for_text (   self,
  text 
) [private]

Definition at line 125 of file forms.py.

def webtest.forms.Select.force_value (   self,
  value 
)
Like setting a value, except forces it (even for, say, hidden
fields).

Reimplemented from webtest.forms.Field.

Definition at line 110 of file forms.py.

def webtest.forms.Select.select (   self,
  value = None,
  text = None 
)

Definition at line 116 of file forms.py.

Reimplemented from webtest.forms.Field.

Reimplemented in webtest.forms.Radio.

Definition at line 146 of file forms.py.

def webtest.forms.Select.value__set (   self,
  value 
)

Reimplemented from webtest.forms.Field.

Definition at line 134 of file forms.py.


Member Data Documentation

Definition at line 102 of file forms.py.

Definition at line 102 of file forms.py.

Definition at line 102 of file forms.py.


Property Documentation

Reimplemented from webtest.forms.Field.

Reimplemented in webtest.forms.Radio.

Definition at line 159 of file forms.py.


The documentation for this class was generated from the following file:


webtest
Author(s): AlexV
autogenerated on Sat Jun 8 2019 20:32:08