Package lxml :: Package html :: Class CheckboxGroup
[hide private]
[frames] | no frames]

Class CheckboxGroup

source code

object --+    
         |    
      list --+
             |
            CheckboxGroup

Represents a group of checkboxes (``<input type=checkbox>``) that have the same name.

In addition to using this like a list, the ``.value`` attribute returns a set-like object that you can add to or remove from to check and uncheck checkboxes. You can also use ``.value_options`` to get the possible values.

Instance Methods [hide private]
 
value__get(self)
Return a set-like object that can be modified to check or uncheck individual checkboxes according to their value.
source code
 
value__set(self, value) source code
 
value__del(self) source code
 
__repr__(self)
repr(x)
source code

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

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

Properties [hide private]
  value
Return a set-like object that can be modified to check or uncheck individual checkboxes according to their value.

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

Return a set-like object that can be modified to check or uncheck individual checkboxes according to their value.

Get Method:
value__get(self) - Return a set-like object that can be modified to check or uncheck individual checkboxes according to their value.
Set Method:
value__set(self, value)
Delete Method:
value__del(self)