¤ pushButtonF

Button implementation

Types

pushButtonF :: [(ModState, KeySym)] -> F b1 b2 -> F b1 (b2  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 b1 b2
A fudget that determines what is displayed in the button.

See Also

buttonF, buttonBorderF, buttonGroupF.