uiform checkbox - part-cw/lambdanative GitHub Wiki
(checkbox . args)
The uiform checkbox element creates a single box to be checked/unchecked.
| Parameter | Default | Description |
|---|---|---|
| id | #f | Variable to store radiobox state in |
| location | 'db | Radiobox state storage location |
| text | "" | Checkbox label string |
| size | normal | String size (normal, small, big) |
| color | White | Font color (from modules/ln_core/color.scm) |
| indent | 0.2 | Indent from left edge of screen (in units of uiform width) |
Example
Example 1: A complete page definition with a checkbox, shortened from LNhealth's apps/WidgetDemo
(ex_boxes
"Radio/Check Boxes"
("Prev" ex_labels #f)
("Next" ex_checklists #f)
(spacer)
(checkbox id dummy_check location ui text "This is a checkbox")
)