lxml :: html :: RadioGroup :: Class RadioGroup
[hide private]
[frames] | no frames]

Class RadioGroup

source code

object --+    
         |    
      list --+
             |
            RadioGroup

This object represents several <input type=radio> elements that have the same name.

You can use this like a list, but also use the property .value to check/uncheck inputs. Also you can use .value_options to get the possible values.

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __init__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]
  value
Get/set the value, which checks the radio with that value (and unchecks any other value).
  value_options
Returns a list of all the possible values.

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

value

Get/set the value, which checks the radio with that value (and unchecks any other value).
Get Method:
unreachable.value(self) - Get/set the value, which checks the radio with that value (and unchecks any other value).
Set Method:
unreachable.value(self, value)
Delete Method:
unreachable.value(self)

value_options

Returns a list of all the possible values.
Get Method:
unreachable.value_options(self) - Returns a list of all the possible values.