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 :: BarConfig -> Double -> IO Double -> IO Widget
- verticalBarFromCallback :: BarConfig -> IO Double -> IO Widget
- defaultBarConfig :: (Double -> (Double, Double, Double)) -> BarConfig
Types
data VerticalBarHandle Source #
BarConfig | |
| |
BarConfigIO | |
|