|  | Source code | Contents | Index

Graphics.UI.ObjectIO.StdReceiverDef |

Portability | portable
Stability | provisional
Maintainer | ka2_mail@yahoo.com

Contents

Definitions
A visible modules

Description
StdReceiverDef contains the types to define the standard set of receivers.
Synopsis

data Receiver m ls ps = Receiver (RId m) (ReceiverFunction m ls ps) [ReceiverAttribute ls ps]
type ReceiverFunction m ls ps = m -> GUIFun ls ps
data Receiver2 m r ls ps = Receiver2 (R2Id m r) (Receiver2Function m r ls ps) [ReceiverAttribute ls ps]
type Receiver2Function m r ls ps = m -> (ls, ps) -> GUI ps (r, (ls, ps))

data ReceiverAttribute ls ps

= ReceiverInit (GUIFun ls ps)
| ReceiverSelectState SelectState

module Graphics.UI.ObjectIO.StdIOCommon
module Graphics.UI.ObjectIO.StdGUI

Definitions
data Receiver m ls ps

Uni-directional receiver. The uni-directional receiver can receive messages but cann't respond to it.
Constructors

Receiver (RId m) (ReceiverFunction m ls ps) [ReceiverAttribute ls ps] |

Instances

Controls (Receiver m)
MenuElements (Receiver m)
Receivers (Receiver m)
TimerElements (Receiver m)

type ReceiverFunction m ls ps = m -> GUIFun ls ps
data Receiver2 m r ls ps

Bi-directional can receive messages and then must respond to it.
Constructors

Receiver2 (R2Id m r) (Receiver2Function m r ls ps) [ReceiverAttribute ls ps] |

Instances

Controls (Receiver2 m r)
MenuElements (Receiver2 m r)
Receivers (Receiver2 m r)
TimerElements (Receiver2 m r)

type Receiver2Function m r ls ps = m -> (ls, ps) -> GUI ps (r, (ls, ps))
data ReceiverAttribute ls ps

Constructors

ReceiverInit (GUIFun ls ps) |
ReceiverSelectState SelectState |

A visible modules
module Graphics.UI.ObjectIO.StdIOCommon
module Graphics.UI.ObjectIO.StdGUI
Produced by Haddock version 0.8