¤ buttonBorderF

Types

buttonBorderF :: Int -> F a b -> F (Either Bool a) b

Synopsis

buttonBorderF border fudget

Description

buttonBorderF puts a border around a fudget to make it look like a push putton.

Input

Left True makes the button look pressed. Left False makes the button look released. Right x propagates x to the enclosed fudget.

Output

Whatever the enclosed fudget outputs.

Arguments

border :: Int
Button border width, in pixels.
fudget :: F a b
A fudget.

See Also

buttonF, pushButtonF, buttonGroupF.