Skip to main content

Module button

Module button 

Source
Expand description

Checkbox, radio button, and push button implementation (B.3 + B.5).

Structs§

ResetAction
Parsed reset-form action attached to a button.
SubmitAction
Parsed submit-form action attached to a button.

Enums§

ButtonKind
Sub-kind of a button field.
IconCaptionLayout
Icon and caption arrangement for a push button’s appearance.

Functions§

button_kind
Determine button sub-kind from flags.
is_checked
Check if a button field is currently “on” (checked/selected).
on_state_name
Get the “on” state name for a button widget.
select_radio
Select a radio button, deselecting siblings. Returns false if read-only.
toggle_checkbox
Toggle a checkbox field. Returns false if read-only or not a checkbox.