| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Widgets.ComboBox
Description
HTk's ComboBox. Only available when using tixwish. However this module needs to go in the uni-htk-widgets package because it depends on it.
Documentation
data GUIValue a => ComboBox a Source #
The ComboBox datatype.
A ComboBox is a so called mega widget composed of an entry widget
and a list box. Both subwidgets are accessible by themselves.
Instances
| GUIValue a => Eq (ComboBox a) Source # | |
| GUIValue a => Destroyable (ComboBox a) Source # | A combo box widget can be destroyed. |
| GUIValue a => Synchronized (ComboBox a) Source # | You can synchronize on a combo box widget. |
| GUIValue a => GUIObject (ComboBox a) Source # | Internal. |
| GUIValue a => HasEnable (ComboBox a) Source # | A combo box widget is a stateful widget, it can be enabled or disabled. |
| GUIValue a => HasBorder (ComboBox a) Source # | A combo box widget has a configureable border. |
| GUIValue a => HasSize (ComboBox a) Source # | You can specify the size of a combo box widget- |
| GUIValue a => HasColour (ComboBox a) Source # | A combo box widget has a background colour. |
| GUIValue a => HasAnchor (ComboBox a) Source # | A combo box widget has a text anchor. |
| GUIValue a => Widget (ComboBox a) Source # | A combo box has standard widget properties (focus, cursor, ...). |
| (GUIValue a, GUIValue [a]) => HasValue (ComboBox a) [a] Source # | The value of a combo box is the list of the displayed objects (these
are instances of class |
Arguments
| :: (GUIValue a, Container par) | |
| => par | the list of configuration options for this combo box. |
| -> Bool | true if the user should be allowed to type into the entry of the ComboBox. |
| -> [Config (ComboBox a)] | |
| -> IO (ComboBox a) | A combo box. |
Constructs a new combo box and returns a handler.
pick :: GUIValue a => Int -> Config (ComboBox a) Source #
Sets the index item in the listbox to be the current value of the ComboBox.