gtk2hsContentsIndex
Scale
Description
This is the abstract base class for HScale and VScale. It implements the management of an adjustable value.
Synopsis
scaleSetDigits :: ScaleClass s => s -> Int -> IO ()
scaleGetDigits :: ScaleClass s => s -> IO Int
scaleSetDrawValue :: ScaleClass s => s -> Bool -> IO ()
scaleGetDrawValue :: ScaleClass s => s -> IO Bool
data PositionType
= PosLeft
| PosRight
| PosTop
| PosBottom
scaleSetValuePos :: ScaleClass s => s -> PositionType -> IO ()
scaleGetValuePos :: ScaleClass s => s -> IO PositionType
Documentation
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
Enum PositionType
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