Expand description
Checkbox, switch and slider.
Enums§
- Check
- A checkbox’s value: a mixed selection is
Indeterminate(a dash).
Functions§
- checkbox
- A checkbox bound to a bool.
- checkbox_
shown - The 16 px box and its label. Returns the response;
clicked()means the caller should toggle (an indeterminate box becomes on). - slider
- A slider: a 4 px track with the accent filled part and a 14 px round handle, which shows a halo on hover and the value in a tooltip while dragging.
- slider_
shown - switch
- A switch for an on/off setting that applies at once: a 32 x 18 track whose knob slides.
- switch_
shown - A switch drawn in a fixed state (the gallery) or disabled.