|
|
|
|
|
| Description |
| A simple container for a group of button widgets. |
|
| Synopsis |
|
|
|
| Documentation |
|
| data SelectBox |
| The SelectBox datatype. |
|
| newSelectBox |
| :: (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. |
|
|
| addButton |
| :: 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. |
|
|
| addSpace |
| :: 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. |
|
|
| getDefault |
| :: 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). |
|
|
| selectDefault :: SelectBox -> IO () |
|
| Produced by Haddock version 0.3 |