HasFont, HasTitle, et al

Types

class HasFont a where
   setFont :: FontName -> Customiser a
   getFont :: a -> FontName
class HasTitle a where
   setTitle :: String -> Customiser a
   getTitle :: a -> String
class HasKeys a where
   setKeys :: [(ModState, KeySym)] -> Customiser a
   getKeys :: a -> [(ModState, KeySym)]
class HasWinAttr a where
   setWinAttr :: [WindowAttributes] -> Customiser a
   getWinAttr :: a -> [WindowAttributes]
class HasBorderWidth a where
   setBorderWidth :: Int -> Customiser a
   getBorderWidth :: a -> Int
class HasBgColor a where
   setBgColor :: ColorName -> Customiser a
   getBgColor :: a -> ColorName
class HasFgColor a where
   setFgColor :: ColorName -> Customiser a
   getFgColor :: a -> ColorName
class HasMargin a where
   setMargin :: Int -> Customiser a
   getMargin :: a -> Int
class HasAlign a where
   setAlign :: Alignment -> Customiser a
   getAlign :: a -> Alignment
class HasInitSize a where
   setInitSize :: String -> Customiser a
   getInitSize :: a -> String
class HasStretchable a where
   setStretchable :: (Bool, Bool) -> Customiser a
   getStretchable :: a -> (Bool, Bool)
class HasSizing a where
   setSizing :: Sizing -> Customiser a
   getSizing :: a -> Sizing

Description

Classes used for parameters with default values.

See Also

Customiser.