|
|
|
|
|
Description |
An abstract base class to handle widgets that represent some value range.
|
|
Synopsis |
|
|
|
Documentation |
|
rangeGetAdjustment :: RangeClass r => r -> IO Adjustment |
Extract the Adjustment object.
|
|
data UpdateType |
updating types for range widgets (determines when the
"connectToValueChanged" signal is emitted by the widget)
| Constructors | UpdateContinuous | | UpdateDiscontinuous | | UpdateDelayed | |
| Instances | |
|
|
rangeSetUpdatePolicy :: RangeClass r => r -> UpdateType -> IO () |
Set how the internal Adjustment object is updated.
|
|
rangeGetUpdatePolicy :: RangeClass r => r -> IO UpdateType |
Get the update policy for the range widget.
|
|
rangeSetAdjustment :: RangeClass r => r -> Adjustment -> IO () |
Insert a new Adjustment object.
|
|
rangeGetInverted :: RangeClass r => r -> IO Bool |
Get the inverted flag (determines if the range is reversed).
|
|
rangeSetInverted :: RangeClass r => r -> Bool -> IO () |
Set the inverted flag.
|
|
data ScrollType |
scrolling type
| Constructors | ScrollNone | | ScrollJump | | ScrollStepBackward | | ScrollStepForward | | ScrollPageBackward | | ScrollPageForward | | ScrollStepUp | | ScrollStepDown | | ScrollPageUp | | ScrollPageDown | | ScrollStepLeft | | ScrollStepRight | | ScrollPageLeft | | ScrollPageRight | | ScrollStart | | ScrollEnd | |
| Instances | |
|
|
rangeSetIncrements |
:: RangeClass r | | => r | | -> Double | step size | -> Double | page size | -> IO () | | Sets the step and page sizes for the range. The step size is used when the
user clicks the Scrollbar arrows or moves Scale via arrow keys. The
page size is used for example when moving via Page Up or Page Down keys.
|
|
|
rangeSetRange |
:: RangeClass r | | => r | | -> Double | min | -> Double | max | -> IO () | | Sets the allowable values in the Range, and clamps the range value to be
between min and max.
|
|
|
rangeSetValue :: RangeClass r => r -> Double -> IO () |
Sets the current value of the range. The range emits the "value_changed"
signal if the value changes.
- If the value is outside the minimum or maximum range values, it will be
clamped to fit inside them.
|
|
rangeGetValue :: RangeClass r => r -> IO Double |
Gets the current value of the range.
|
|
onMoveSlider :: RangeClass r => r -> (ScrollType -> IO ()) -> IO (ConnectId r) |
The slide has moved. The arguments give
detailed information what happend.
|
|
afterMoveSlider :: RangeClass r => r -> (ScrollType -> IO ()) -> IO (ConnectId r) |
|
Produced by Haddock version 0.6 |