wx-0.10.1: wxHaskell is a portable and native GUI library for Haskell.Source codeContentsIndex
type Timer = TimerEx ()
timer :: Window a -> [Prop Timer] -> IO Timer
interval :: Attr Timer Int
type Timer = TimerEx ()Source

A timer generates a command event on a specified milli-second interval.

timer :: Window a -> [Prop Timer] -> IO TimerSource
Create a new timer with a 1 second interval. The timer is automatically discarded when the parent is deleted.
interval :: Attr Timer IntSource
The milli-second interval of the timer.
Produced by Haddock version 2.1.0