Safe Haskell | None |
---|---|
Language | Haskell98 |
This module implements a simple list box to which strings can be added at the end and deleted.
Documentation
data SimpleListBox val Source
Destroyable (SimpleListBox val) | |
Object (SimpleListBox val) | |
GUIObject (SimpleListBox val) | |
HasSize (SimpleListBox val) | |
Widget (SimpleListBox val) |
newSimpleListBox :: Container par => par -> (val -> String) -> [Config (SimpleListBox val)] -> IO (SimpleListBox val) Source
data SimpleListBoxItem val Source
Eq (SimpleListBoxItem val) | |
Ord (SimpleListBoxItem val) | |
Object (SimpleListBoxItem val) |
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