Source codeContentsIndex
SpinButton
Description
A spin button widget consisting of two button widgets.
Synopsis
data Spin
= Down
| Up
data SpinButton
newSpinButton :: (Container par) => par -> (Spin -> IO a) -> [Config SpinButton] -> IO SpinButton
Documentation
data Spin
The Spin datatype.
Constructors
Down
Up
data SpinButton
The SpinButton datatype.
newSpinButton
:: (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.
Produced by Haddock version 0.3