CLIM mail archive
[Prev][Next][Index][Thread]
Using Colors in accepting - values?
-
To: clim@BBN.COM
-
Subject: Using Colors in accepting - values?
-
From: Jan Hesse <hesse@rosso.fzi.de>
-
Date: Fri, 30 Oct 92 09:14:15 +0100
-
Original-Received: by NeXT.Mailer (1.87.1)
-
Original-Received: by NeXT Mailer (1.87.1)
-
Pp-Warning: Illegal Received field on preceding line
-
Pp-Warning: Illegal Received field on preceding line
Hi,
I have a color problem with accepting-values. In the accepting-values
I define accepts with different colors.
Example:
(accepting-values (stream :own-window t :resynchronize-every-pass t)
(with-drawing-options (stream :ink +red+)
(setf val1
(accept 'string :stream stream :default val1)))
(with-drawing-options (stream :ink +blue+)
(setf val2
(accept 'string :stream stream :default val2))))
If CLIM create the window all is fine. The strings have the given
color. If I change one value all items, will be drawn in the
medium-foreground color. I suppose the accept doesn't regonize the
drawing options and the accepting-values would not call the whole
body again.
The only solution that I known is to define a new presentation type
with a special accept-method. But this is in my opinion a wrong way.
I would be graceful, if someone have a good idea.
Bye
Jan
0,,
Follow-Ups:
Main Index |
Thread Index