Skip to main content

Module checkbox

Module checkbox 

Source
Available on crate feature checkbox only.
Expand description

Checkboxes with checked, unchecked and indeterminate states.

Structs§

Checkbox
A checkbox builder. Convert it into an Element to render.
Colours
Colours of a checkbox in a given state and interaction status.

Enums§

Action
What a checkbox keyboard shortcut does. Useful when the app tracks which checkbox is current.
CheckState
The value a checkbox shows.

Constants§

BOX_SIZE
Side length of the check box in logical pixels.

Functions§

checkbox
Creates a checkbox showing state. Accepts a bool or a CheckState.
colours
Resolves the colours of a checkbox for a value and interaction status.
default_keymap
The default checkbox shortcuts:
style
The iced button style used for the check box itself.