| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Toolkit.SimpleListBox
Description
This module implements a simple list box to which strings can be added at the end and deleted.
Documentation
data SimpleListBox val Source #
Instances
| Destroyable (SimpleListBox val) Source # | |
| Object (SimpleListBox val) Source # | |
| GUIObject (SimpleListBox val) Source # | |
| HasSize (SimpleListBox val) Source # | |
| Widget (SimpleListBox val) Source # | |
newSimpleListBox :: Container par => par -> (val -> String) -> [Config (SimpleListBox val)] -> IO (SimpleListBox val) Source #
data SimpleListBoxItem val Source #
Instances
| Eq (SimpleListBoxItem val) Source # | |
| Ord (SimpleListBoxItem val) Source # | |
| Object (SimpleListBoxItem val) Source # | |
addItemAtEnd :: SimpleListBox val -> val -> IO (SimpleListBoxItem val) Source #
deleteItem :: SimpleListBox val -> SimpleListBoxItem val -> IO () Source #
getItems :: SimpleListBox value -> IO [value] Source #
bindSelection :: SimpleListBox val -> IO (Event [SimpleListBoxItem val], IO ()) Source #