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