Safe Haskell | None |
---|---|
Language | Haskell2010 |
Like the vertical bar, but this widget automatically updates itself with a callback at fixed intervals.
Synopsis
- data VerticalBarHandle
- data BarConfig
- = BarConfig {
- barBorderColor :: (Double, Double, Double)
- barBackgroundColor :: Double -> (Double, Double, Double)
- barColor :: Double -> (Double, Double, Double)
- barPadding :: Int
- barWidth :: Int
- barDirection :: BarDirection
- | BarConfigIO {
- barBorderColorIO :: IO (Double, Double, Double)
- barBackgroundColorIO :: Double -> IO (Double, Double, Double)
- barColorIO :: Double -> IO (Double, Double, Double)
- barPadding :: Int
- barWidth :: Int
- barDirection :: BarDirection
- = BarConfig {
- data BarDirection
- pollingBarNew :: MonadIO m => BarConfig -> Double -> IO Double -> m Widget
- verticalBarFromCallback :: MonadIO m => BarConfig -> IO Double -> m Widget
- defaultBarConfig :: (Double -> (Double, Double, Double)) -> BarConfig
Types
data VerticalBarHandle Source #
BarConfig | |
| |
BarConfigIO | |
|