ยค HasFont, HasBgColorSpec, et al

Types

type HasFont = ??
class HasBgColorSpec xxx where
   setBgColorSpec :: ColorSpec -> Customiser xxx
   getBgColorSpec :: xxx -> ColorSpec
   getBgColorSpecMaybe :: xxx -> Maybe ColorSpec
class HasFgColorSpec xxx where
   setFgColorSpec :: ColorSpec -> Customiser xxx
   getFgColorSpec :: xxx -> ColorSpec
   getFgColorSpecMaybe :: xxx -> Maybe ColorSpec
setBgColor :: (Show a, ColorGen a, HasBgColorSpec xxx) => a -> Customiser xxx
setFgColor :: (Show a, ColorGen a, HasFgColorSpec xxx) => a -> Customiser xxx
class HasKeys xxx where
   setKeys :: [(ModState, KeySym)] -> Customiser xxx
   getKeys :: xxx -> [(ModState, KeySym)]
   getKeysMaybe :: xxx -> Maybe [(ModState, KeySym)]
class HasBorderWidth xxx where
   setBorderWidth :: Int -> Customiser xxx
   getBorderWidth :: xxx -> Int
   getBorderWidthMaybe :: xxx -> Maybe Int
class HasMargin xxx where
   setMargin :: Int -> Customiser xxx
   getMargin :: xxx -> Int
   getMarginMaybe :: xxx -> Maybe Int
class HasAlign xxx where
   setAlign :: Alignment -> Customiser xxx
   getAlign :: xxx -> Alignment
   getAlignMaybe :: xxx -> Maybe Alignment
class HasInitDisp xxx where
   setInitDisp :: a -> Customiser (xxx a)
   getInitDispMaybe :: xxx a -> Maybe a
   getInitDisp :: xxx a -> a
class HasInitSize xxx where
   setInitSize :: a -> Customiser (xxx a)
   getInitSizeMaybe :: xxx a -> Maybe a
   getInitSize :: xxx a -> a
class HasStretchable xxx where
   setStretchable :: (Bool, Bool) -> Customiser xxx
   getStretchable :: xxx -> (Bool, Bool)
   getStretchableMaybe :: xxx -> Maybe (Bool, Bool)
class HasSizing xxx where
   setSizing :: Sizing -> Customiser xxx
   getSizing :: xxx -> Sizing
   getSizingMaybe :: xxx -> Maybe Sizing
class HasWinAttr xxx where
   setWinAttr :: [WindowAttributes] -> Customiser xxx
   getWinAttr :: xxx -> [WindowAttributes]
   getWinAttrMaybe :: xxx -> Maybe [WindowAttributes]

Description

Classes used for parameters with default values.

See Also

Customiser.