Go to the first, previous, next, last section, table of contents.

Scale operators

* resizeScale :: Scale -> Int -> Int -> IO ()
change the scale interval, an updated value will be output on the Scale handle if the sliding interval really is altered.

* setScale :: Scale -> Int -> IO ()
set the scale thumb to a position within the current interval. If outside interval, move thumb to the boundary the value is crossing.

* setScaleShowFlag :: Scale -> Bool -> IO ()
set the flag controlling whether we should dynamically show the current value of the Scale.

* setScaleLabel :: Scale -> Picture -> IO ()
change the descriptive Picture label.

* setScaleSpacing :: Scale -> Int -> IO ()
set the spacing between the tickmarks.

* getScaleSlider :: Scale -> Slider Int
return the handle for the Slider which the Scale is composed out of.
* getScaleGauge :: Scale -> Gauge Int
return the abstract device for the Scale.

Go to the first, previous, next, last section, table of contents.