|  | Source code | Contents | Index

Graphics.UI.ObjectIO.StdTimerDef |

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

Contents

Definitions
A visible modules

Description
StdTimerDef contains the types to define the standard set of timers.
Synopsis

data Timer t ls ps = Timer TimerInterval (t ls ps) [TimerAttribute ls ps]
type TimerInterval = Int
type NrOfIntervals = Int

data TimerAttribute ls ps

= TimerFunction (TimerFunction ls ps)
| TimerId Id
| TimerInit (GUIFun ls ps)
| TimerSelectState SelectState

type TimerFunction ls ps = NrOfIntervals -> GUIFun ls ps
module Graphics.UI.ObjectIO.StdIOCommon
module Graphics.UI.ObjectIO.StdGUI

Definitions
data Timer t ls ps

Standard timer definition type
Constructors

Timer TimerInterval (t ls ps) [TimerAttribute ls ps] |

Instances

TimerElements t => Timers (Timer t)

type TimerInterval = Int
Timer activation interval
type NrOfIntervals = Int
Number of elapsed timer intervals
data TimerAttribute ls ps

Constructors

TimerFunction (TimerFunction ls ps) |
TimerId Id |
TimerInit (GUIFun ls ps) |
TimerSelectState SelectState |

type TimerFunction ls ps = NrOfIntervals -> GUIFun ls ps
Type of timer event handler. The argument of the handler is the number of intervals elapsed between current and previous call.
A visible modules
module Graphics.UI.ObjectIO.StdIOCommon
module Graphics.UI.ObjectIO.StdGUI
Produced by Haddock version 0.8