Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- hCenteredStrWrap :: String -> Widget n
- hCenteredStrWrapWithAttr :: (Widget n -> Widget n) -> String -> Widget n
- centerPopup :: Widget n -> Widget n
- drawException :: Maybe String -> Widget n
- hFill :: Char -> Widget n
- vFill :: Char -> Widget n
- atLeastV :: Int -> Widget n -> Widget n
- yesnoField :: (Ord n, Show n) => Bool -> Lens' s Bool -> n -> String -> s -> FormFieldState s e n
- renderYesno :: Ord n => Bool -> String -> n -> Bool -> Bool -> Widget n
- naturalNumberField :: (Ord n, Show n) => Int -> Lens' s Int -> n -> String -> s -> FormFieldState s e n
- renderNaturalNumber :: Int -> String -> n -> Bool -> Int -> Widget n
Documentation
hCenteredStrWrap :: String -> Widget n Source #
centerPopup :: Widget n -> Widget n Source #
hFill :: Char -> Widget n Source #
Fill all available space with the specified character. Grows only horizontally.
vFill :: Char -> Widget n Source #
Fill all available space with the specified character. Grows only vertically.
yesnoField :: (Ord n, Show n) => Bool -> Lens' s Bool -> n -> String -> s -> FormFieldState s e n Source #
naturalNumberField :: (Ord n, Show n) => Int -> Lens' s Int -> n -> String -> s -> FormFieldState s e n Source #