cushy 0.4.0

A wgpu-powered graphical user interface (GUI) library with a reactive data model
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Checkbox

The [`Checkbox`][checkbox] widget is a [`Button`](./button.md) that toggles a
[`CheckboxState`][checkboxstate] when clicked.

[`CheckboxState`][checkboxstate] contains three variants:

- Indeterminant: A horizontal line will be drawn in the box to show a state of
  neither checked or unchecked.
- Checked: A checkbark will be drawn in the box.
- Unchecked: No indicator will be drawn in the box.

[checkbox]: <{{ docs }}/widgets/checkbox/struct.Checkbox.html>
[checkboxstate]: <{{ docs }}/widgets/checkbox/struct.CheckboxState.html>