|
Graphics.UI.Gtk.Abstract.Scale |
|
|
|
|
Description |
This is the abstract base class for HScale and VScale. It implements the
management of an adjustable value.
|
|
Synopsis |
|
|
|
Documentation |
|
data Scale |
|
|
class RangeClass o => ScaleClass o |
|
|
castToScale :: GObjectClass obj => obj -> Scale |
|
scaleSetDigits :: ScaleClass s => s -> Int -> IO () |
Set the number of displayed digits after the comma.
|
|
scaleGetDigits :: ScaleClass s => s -> IO Int |
Get the number of displayed digits after the comma.
|
|
scaleSetDrawValue :: ScaleClass s => s -> Bool -> IO () |
Specify if the current value is to be drawn next to the slider.
|
|
scaleGetDrawValue :: ScaleClass s => s -> IO Bool |
Returns whether the current value is drawn next to the slider.
|
|
data PositionType |
Position a scale's value is drawn relative to the
trough
| Constructors | PosLeft | | PosRight | | PosTop | | PosBottom | |
| Instances | |
|
|
scaleSetValuePos :: ScaleClass s => s -> PositionType -> IO () |
Specify where the value is to be displayed (relative to the slider).
|
|
scaleGetValuePos :: ScaleClass s => s -> IO PositionType |
Gets the position in which the current value is displayed.
|
|
Produced by Haddock version 0.6 |