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

Safe HaskellNone
LanguageHaskell98

HTk.Toolkit.SpinButton

Description

A spin button widget consisting of two button widgets.

Synopsis

Documentation

data Spin Source

The Spin datatype.

Constructors

Down 
Up 

Instances

data SpinButton Source

The SpinButton datatype.

Instances

Eq SpinButton

Internal.

Destroyable SpinButton

A spin button can be destroyed.

Synchronized SpinButton

You can synchronize on a spin button.

GUIObject SpinButton

Internal.

HasEnable SpinButton

A spin button is a stateful widget, it can be enabled or disabled.

HasFont SpinButton

A spin button has a configureable font.

HasBorder SpinButton

A spin button has a configureable border.

HasSize SpinButton

A spin button has a configureable size.

HasColour SpinButton

A spin button has a normal foreground and background colour and an active/disabled foreground and background colour.

Widget SpinButton

A spin button has standard widget properties (concerning focus, cursor).

newSpinButton Source

Arguments

:: Container par 
=> par

the parent widget, which has to be a container widget.

-> (Spin -> IO a)

the command to execute, when a button is pressed.

-> [Config SpinButton]

the list of configuration options for this spin button.

-> IO SpinButton

A spin button.

Constructs a new spin button and returns a handler.