Safe Haskell | None |
---|---|
Language | Haskell98 |
The module Slider
implements configuration options for
widgets with sliders (scale widgets and scrollbars).
- newtype Slider w = Slider w
- class Widget w => HasSlider w where
- repeatInterval :: Int -> Config (Slider w)
- getRepeatInterval :: Slider w -> IO Int
- repeatDelay :: Int -> Config (Slider w)
- getRepeatDelay :: Slider w -> IO Int
Documentation
The Slider
datatype.
Slider w |
GUIObject w => GUIObject (Slider w) | Internal. |
HasSize (Slider (Scale a)) | A scale's slider has a configureable size. |
(HasSlider w, GUIObject w) => HasColour (Slider w) | The slider component has a configureable foreground and background colour. |
ScaleValue a => HasIncrement (Slider (Scale a)) a | A scale's slider has a configureable resulution. |
class Widget w => HasSlider w where Source
Widgets with sliders (scale widget, scrollbar) instantiate the
class HasSlider
.
Nothing
repeatInterval :: Int -> Config (Slider w) Source
getRepeatInterval :: Slider w -> IO Int Source
repeatDelay :: Int -> Config (Slider w) Source
getRepeatDelay :: Slider w -> IO Int Source