buttonF' :: Graphic lbl => Customiser (ButtonF lbl) -> lbl -> F Click Click buttonF'' :: Graphic lbl => Customiser (ButtonF lbl) -> lbl -> PF (ButtonF lbl) Click Click data ButtonF lbl = Pars [Pars lbl] instance HasFontSpec (ButtonF a) instance HasKeys (ButtonF a) instance HasFgColorSpec (ButtonF a) instance HasBgColorSpec (ButtonF a) instance HasMargin (ButtonF a) instance HasAlign (ButtonF a) setLabel :: lbl -> Customiser (ButtonF lbl)
buttonF' customiser label
Customisable versions of buttonF.
customiser :: Customiser (ButtonF lbl)
label :: lbl
buttonF = buttonF' standard buttonF' (setLabel x) y = buttonF x
The only customiser that works dynamically with buttonF''
is
setLabel
.