uni-htk-2.2.1.0: Graphical User Interface for Haskell Programs

HTk.Components.Slider

Description

The module Slider implements configuration options for widgets with sliders (scale widgets and scrollbars).

Synopsis

Documentation

newtype Slider w Source

The Slider datatype.

Constructors

Slider w 

Instances

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 whereSource

Widgets with sliders (scale widget, scrollbar) instantiate the class HasSlider.

Instances

HasSlider ScrollBar

The scrollbar has a configureable slider component.

HasSlider (Scale a)

A scale widget has a configureable slider.