oldButtonF :: (Graphic c, Show a, FontGen a, Show b, ColorGen b, Graphic d) => Alignment -> Distance -> a -> ColorSpec -> b -> [(ModState, KeySym)] -> c -> F d Click
oldButtonF alignment margin fname bg fg keys label
oldButtonF
is a simple command button displaying a text.
Click
alignment :: Alignment
margin :: Distance
fname :: a
xfontsel
. (This argument is likely to disappear in the
near future. It will be replaced by some resource mechanism.)
bg :: ColorSpec
fg :: b
keys :: [(ModState, KeySym)]
label :: c
oldButtonF aCenter 2 buttonFont (colorSpec bgColor) (colorSpec fgColor) [([Mod1],"q")] "Nisse Hult" :: (F String Click)