PyGUI - class CheckBox

# class `CheckBox(Control)`

A CheckBox is a control which has two states, on and off. Clicking the CheckBox toggles it from one state to the other. Each time the state changes, its action is performed.

## Properties

> `title`
>   Title string to be displayed beside the check box.
> `on`
>   A boolean value indicating whether the button is on or off.
> `action`
>   Action to perform when the user changes the state of the check box. See Actions.
> `auto_toggle`
>   True if the `on` property is to be automatically toggled when the user clicks the check box. Defaults to true. If set to false, the action will still be performed when the check box is clicked, but the programmer is responsible for changing the state if required.

---