¤ toggleButtonF

Types

toggleButtonF :: (Graphic a) => a -> 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 :: a
The button label.

Example

 toggleButtonF "Run"

See Also

Customisable version: toggleButtonF'.

Related fudgets: buttonF, menuF, radioGroupF, toggleF.