| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: (window-or-widget-or-handle-or-nil t) (object t) &key (preview-seconds 0.5) (down-seconds 0.5)
Calls do-keypress once for each character in a string.
window-or-widget-or-handle-or-nil may be either a
window, a dialog-item, an internal window "handle", or nil
. This is passed as the
window-or-widget-or-handle-or-nil argument to
do-keypress.
If object is a string, it is used directly. If it is a symbol, its symbol-name is used as the string. Otherwise a string obtained by calling princ-to-string on object.
The preview-seconds keyword argument to do-keypress will be the
preview-seconds to do-keypresses for the first
character and as nil
for all other
characters.
The down-seconds keyword argument to do-keypress will be
the down-seconds keyword argument to
do-keypresses for
the last character and as nil
for all other
characters.
;; Type a whole string of characters into a window. (do-keypresses some-window "How about that.") ;; Print an arbitrary object into whatever window has the keyboard ;; focus. (do-keypresses nil (list :one "Foo"))
This function is not implemented on GTK, and we doubt that there is
any feasible way to implement it. The function does not exist at all
on the GTK platform, so you should use #+mswindows
to conditionalize any calls to it.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |