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
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). |
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.