| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Toolkit.SelectBox
Description
A simple container for a group of button widgets.
Documentation
The SelectBox datatype.
Instances
| Eq SelectBox Source # | Internal. |
| Destroyable SelectBox Source # | A select box can be destroyed. |
| Synchronized SelectBox Source # | You can synchronize on a select box. |
| GUIObject SelectBox Source # | Internal. |
| HasEnable SelectBox Source # | A select box is a stateful widget, it can be enabled or disabled. |
| HasBorder SelectBox Source # | A select box has a configureable border. |
| HasSize SelectBox Source # | A select box has a configureable size. |
| HasColour SelectBox Source # | A select box has a configureable foreground and background colour. |
| Widget SelectBox Source # | A select box has standard widget properties (concerning focus, cursor). |
Arguments
| :: Container par | |
| => par | the parent widget, which has to be a container widget. |
| -> Maybe Int | the optional index of a default button. |
| -> [Config SelectBox] | the list of configuration options for this select box. |
| -> IO SelectBox | A select box. |
Constructs a new select box and returns a handler.
Arguments
| :: SelectBox | the concerned select box. |
| -> [Config Button] | the list of configuration options for the constructed button. |
| -> [PackOption] | the list of pack options for the constructed button. |
| -> IO Button | A button widget. |
Adds a button widget at the end of the select box.
Arguments
| :: SelectBox | the concerned select box. |
| -> Distance | the width of the space widget. |
| -> IO Space | A space widget. |
Adds a space widget at the end of the select box.
Arguments
| :: SelectBox | the concerned select box. |
| -> IO (Maybe Button) | The default button of the select box (if there is one). |
Gets the default button from a select box (if there is one).
Selects the default button of a select box.