|
|
|
|
|
| Description |
| A simple icon bar containing buttons and separators. |
|
| Synopsis |
|
|
|
| Documentation |
|
| module BitMap |
|
| data IconBar |
| The IconBar datatype. |
|
| newIconBar |
| :: (Container par) | | | => par | the parent widget (which has to be a container
widget). | | -> [Config IconBar] | the list of configuration options for this icon bar. | | -> IO IconBar | An icon bar. | | Creates a new icon bar and returns a handler. |
|
|
| addSeparator :: IconBar -> IO Separator |
|
| addButton |
| :: IconBar | the concerned icon bar. | | -> [Config Button] | the list of configuration options for the button to
add. | | -> IO Button | A button. | | Adds a button at the end of the icon bar. |
|
|
| data Button |
| The Button datatype. |
|
| type Separator = Frame |
|
| getIconButtons |
| :: IconBar | the concerned icon bar. | | -> IO [Button] | A list of the contained buttons. | | Gets the buttons from an icon bar. |
|
|
| getIconBarItems |
| :: IconBar | the concerned icon bar. | | -> IO [Either Frame Button] | Alist of the contained buttons and separators. | | Gets the items from an icon bar. |
|
|
| Produced by Haddock version 0.3 |