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)
buttonF' customiser label
Customisable versions of buttonF.
customiser :: Customiser (ButtonF a)
label :: a
buttonF = buttonF' standard buttonF' (setLabel x) y = buttonF x
The only customiser that works dynamically with buttonF''
is
setLabel
.