CLIM mail archive
Re: stopping echoing of accepting?
>ACCEPT in development version of CLIM has a :REPLACE-INPUT keyword to
>which you can supply a value of NIL to prevent echoing when you click
>on something. There is no way to cause CLIM not to echo typed input
We wrote our own simple version of accept to get around this problem using
read-gesture and find-innermost-applicable-presentation.
find-innermost-applicable-presentation wants an input context whose
structure or creation isn't documentated very well in the manual. The only
way we could think of creating it was to wrap
find-innermost-applicable-presentation within with-input-context and using
the variable *input-context* for the input context. Is there a better way?
(defun get-user-input (stream)
(let ((gesture (read-gesture :stream stream))
(with-input-context (t) nil
(values (presentation-object presentation)
Main Index |