¤ pushButtonF

Types

pushButtonF :: [(ModState, KeySym)] -> F a b -> F a (Either b Click)

Synopsis

pushButtonF keys fudget

Description

pushButtonF creates a push button. An argument fudget determines what is displayed inside the push button.

Input

Propagated to the argument fudget.

Output

Left x if the argument fudget outputs x, Right Click when the button is clicked.

Arguments

keys :: [(ModState, KeySym)]
Key equivalent list. Instead of clicking on the button, a combination of modifiers and a key from the list can be pressed.
fudget :: F a b
A fudget that determines what is displayed in the button.

See Also

buttonF, buttonBorderF, buttonGroupF.