view waitbox.urs @ 7:48a4180171b0

Shifted some more generic theme navigation code to the library. Also generalized formatting options a bit for popupNav.
author Karn Kallio <kkallio@eka>
date Fri, 06 May 2011 23:00:22 -0430
parents 37eefd0a2ed4
children
line wrap: on
line source
(** Textboxes with an event for "no change in N milliseconds" *)

type t

val create : int -> transaction t

val setAction : t -> (string -> transaction {}) -> transaction {}

val render : t -> xbody

val clear : t -> transaction {}

val tickle : t -> transaction {}
(* Simulate the effect of the user making a change, which restarts the timer. *)

val trigger : t -> transaction {}
(* Like [tickle], but triggering the action immediately, without waiting for
 * quiescence *)