A simple container for a group of button widgets.
Documentation
The SelectBox
datatype.
Eq SelectBox | Internal. |
Destroyable SelectBox | A select box can be destroyed. |
Synchronized SelectBox | You can synchronize on a select box. |
GUIObject SelectBox | Internal. |
HasEnable SelectBox | A select box is a stateful widget, it can be enabled or disabled. |
HasBorder SelectBox | A select box has a configureable border. |
HasSize SelectBox | A select box has a configureable size. |
HasColour SelectBox | A select box has a configureable foreground and background colour. |
Widget SelectBox | A select box has standard widget properties (concerning focus, cursor). |
:: 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.
:: 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.
:: 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.
:: 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.