ยค toggleButtonF

Buttons

Types

toggleButtonF :: Graphic lbl => lbl -> F Bool Bool

Synopsis

toggleButtonF label

Description

A toggle button is a button that toggles between on and off when pressed.

Input

True or False to switch on or off the button under program control.

Output

True when the button is switched on, False when it is switched off.

Arguments

label :: lbl
The button label.

Example

 toggleButtonF "Run"

See Also

Customisable version: toggleButtonF'.

Related fudgets: buttonF, menuF, radioGroupF, toggleF.