| Maintainer | Toshio Ito <debug.ito@gmail.com> |
|---|---|
| Safe Haskell | Safe |
| Language | Haskell2010 |
WildBind.FrontEnd
Description
Data types and type classes about front-ends.
You have to look at this module if you want to create a front-end implementation.
- data FrontEvent s i
- data FrontEnd s i = FrontEnd {
- frontDefaultDescription :: i -> ActionDescription
- frontSetGrab :: i -> IO ()
- frontUnsetGrab :: i -> IO ()
- frontNextEvent :: IO (FrontEvent s i)
Documentation
data FrontEvent s i #
Event from the front-end. s is the state of the front-end. i is the input.
Constructors
| FEInput i | An event that a new input is made. |
| FEChange s | An event that the front-end state is changed. |
Instances
| (Eq s, Eq i) => Eq (FrontEvent s i) # | |
| (Ord s, Ord i) => Ord (FrontEvent s i) # | |
| (Show s, Show i) => Show (FrontEvent s i) # | |
Interface to the front-end. s is the state of the front-end,
i is the input.
Constructors
| FrontEnd | |
Fields
| |