wx-0.12.1.2: wxHaskell

Portabilityportable
Stabilityprovisional
Maintainerwxhaskell-devel@lists.sourceforge.net

Graphics.UI.WX.Timer

Description

Support for milli-second timers.

Synopsis

Documentation

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.