buttonF', buttonF'', et al

Buttons

Types

buttonF' :: (Graphic a) => Customiser (ButtonF a) -> a -> F Click Click
buttonF'' :: (Graphic a) => Customiser (ButtonF a) -> a -> PF (ButtonF a) Click Click
data ButtonF a
  instance HasAlign (ButtonF a)
  instance HasBgColorSpec (ButtonF a)
  instance HasFgColorSpec (ButtonF a)
  instance HasFontSpec (ButtonF a)
  instance HasKeys (ButtonF a)
  instance HasMargin (ButtonF a)
setLabel :: a -> Customiser (ButtonF a)

Synopsis

buttonF' customiser label

Description

Customisable versions of buttonF.

Arguments

customiser :: Customiser (ButtonF a)
A customiser.
label :: a
The button label.

Equalities

  buttonF = buttonF' standard
  buttonF' (setLabel x) y = buttonF x

See Also

buttonF, Customiser.

Bugs

The only customiser that works dynamically with buttonF'' is setLabel.