How can I destroy window containing the error message after 5 seconds from displaying it?
Hi,
you can schedule events with the after function, so assuming my-window is the window to destroy, you could do something like:
(after 5000 (lambda ()
On Sun, Nov 28, 2010 at 6:53 PM, Blond BF blondbf@gmail.com wrote:
How can I destroy window containing the error message after 5 seconds from displaying it?
ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user
Hi,
you can schedule events with the after function, so assuming my-window is the window to destroy, you could do something like:
(after 5000 (lambda () (destroy my-window)))
Which shedules the lambda to be executed after 5000 miliseconds.
Regards, Peter
On Sun, Nov 28, 2010 at 6:53 PM, Blond BF blondbf@gmail.com wrote:
How can I destroy window containing the error message after 5 seconds from displaying it?
ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user