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.
SubmitAction
Parsed submit-form action.

Enums§

ButtonKind
Button sub-kind.
IconCaptionLayout
Icon/caption layout for push buttons (/TP values).

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.