8.13.14 InputBool class: A boolean input item.

The InputBool class has this constructor:

class InputBool( name,value)
Creates a new checkbox for the input of a boolean value.

Displays the name next to a checkbox, which will initially be set if value evaluates to True. (Does not use the label) The value is either True or False,depending on the setting of the checkbox.

InputBool objects have the following methods:

name( )
Return the widget's name.

value( )
Return the widget's value.

setValue( val)
Change the widget's value.