Mercurial > gui
view timer.ur @ 1:4d8165e8f89a
Some help with building forms
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 06 Jan 2011 16:45:47 -0500 |
parents | 37eefd0a2ed4 |
children |
line wrap: on
line source
type t = source bool fun create r = b <- source False; spawn (sleep r.Milliseconds; b <- get b; if b then return () else r.Action); return b fun cancel b = set b True