| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Toolkit.SpinButton
Description
A spin button widget consisting of two button widgets.
- data Spin
- data SpinButton
- newSpinButton :: Container par => par -> (Spin -> IO a) -> [Config SpinButton] -> IO SpinButton
Documentation
The Spin datatype.
data SpinButton Source #
The SpinButton datatype.
Instances
| Eq SpinButton Source # | Internal. |
| Destroyable SpinButton Source # | A spin button can be destroyed. |
| Synchronized SpinButton Source # | You can synchronize on a spin button. |
| GUIObject SpinButton Source # | Internal. |
| HasEnable SpinButton Source # | A spin button is a stateful widget, it can be enabled or disabled. |
| HasFont SpinButton Source # | A spin button has a configureable font. |
| HasBorder SpinButton Source # | A spin button has a configureable border. |
| HasSize SpinButton Source # | A spin button has a configureable size. |
| HasColour SpinButton Source # | A spin button has a normal foreground and background colour and an active/disabled foreground and background colour. |
| Widget SpinButton Source # | A spin button has standard widget properties (concerning focus, cursor). |
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.