The bindings documented in this section are also provided by the racket/gui/base library.
|(require racket/gui/event)||package: gui-lib|
An event% object contains information about a control, keyboard, mouse, or scroll event. See also control-event%, key-event%, mouse-event%, and scroll-event%.
time-stamp : exact-integer? = 0See get-time-stamp for information about time-stamp.Returns the time, in milliseconds, when the event occurred. This time is compatible with times reported by Racket’s current-milliseconds procedure.Set the time, in milliseconds, when the event occurred. See also Racket’s current-milliseconds.
If the supplied value is outside the platform-specific range of time values, an exn:fail:contract exception is raised.