|
Graphics.UI.Port.Timer | Portability | portable
| Stability | provisional
| Maintainer | ka2_mail@yahoo.com
|
|
|
|
|
|
Description |
Timers
|
|
Synopsis |
|
|
|
Documentation |
|
createTimer :: Int -> IO TimerHandle |
Create a timer with a handler that is called on a specified milli-second interval.
|
|
destroyTimer :: TimerHandle -> IO () |
Destroy a timer and automatically unregister its event handler.
|
|
setTimerInterval :: TimerHandle -> Int -> IO () |
Change the delay time for the timer
|
|
getTimerInterval :: TimerHandle -> IO Int |
Get the delay time for the timer
|
|
setTimerEnabled :: TimerHandle -> Bool -> IO () |
Enable/disable timer
|
|
getTimerEnabled :: TimerHandle -> IO Bool |
Returns True when the timer is enabled.
|
|
getAllTimerHandles :: IO [TimerHandle] |
getAllTimerHandles returns list of handles for all created timers. |
|
destroyAllTimers :: IO () |
|
Produced by Haddock version 0.6 |