-- | Create a new timer with a 1 second interval. The timer is automatically discarded
-- when the parent is deleted.
timer :: Window a -> [Prop Timer] -> IO Timer
timer parent' props
  = do t <- windowTimerCreate parent'
       void (timerStart t 1000 False)
       set t props
       return t

-- | The millisecond interval of the timer.
timer :: Window a -> [Prop Timer] -> IO Timer
timer parent' props
  = do t <- windowTimerCreate parent'
       void (timerStart t 1000 False)
       set t props
       return t

-- | The millisecond interval of the timer.
timer parent' props
  = do t <- windowTimerCreate parent'
       void (timerStart t 1000 False)
       set t props
       return t

-- | The millisecond interval of the timer.