toggle
 
 
 
: toggle {
   action alignment fixed_height fixed_width 
   height is_enabled is_tab_stop label width 
}

A toggle controls a Boolean value ("0" or "1"). A toggle appears as a small box with an optional label to the right of the box. A check mark or X appears (or disappears) when the user selects the box. Toggles enable the user to view or change the state of on/off options. Toggles are also known as check boxes.

label

The text displayed to the right of the toggle box.

value

A quoted string containing an integer (default: "0") and specifying the initial state of the toggle. If the string is "0", the toggle box is blank (without a check mark). If it is "1", the box contains a check mark (or an X).