[mcclim-cvs] CVS mcclim/Drei
thenriksen
thenriksen at common-lisp.net
Sat Jan 19 09:38:20 UTC 2008
Update of /project/mcclim/cvsroot/mcclim/Drei
In directory clnet:/tmp/cvs-serv26826/Drei
Modified Files:
input-editor.lisp
Log Message:
Added docstrings for input-editor related stuff.
--- /project/mcclim/cvsroot/mcclim/Drei/input-editor.lisp 2008/01/17 11:29:55 1.22
+++ /project/mcclim/cvsroot/mcclim/Drei/input-editor.lisp 2008/01/19 09:38:20 1.23
@@ -732,7 +732,10 @@
(defun add-input-editor-command (gestures function)
"Set up Drei so performing `gestures' will result in the
-invocation of `function' "
+invocation of `function'. Only works for Drei-based input-editing
+streams. `Function' will be called with four arguments: the
+input-editing stream, the input buffer, the gesture used to
+invoke the command, and the accumulated numeric argument."
(set-key `(,(lambda (numeric-argument)
(funcall function *drei-input-editing-stream*
(stream-input-buffer *drei-input-editing-stream*)
More information about the Mcclim-cvs
mailing list