[mcclim-devel] How to change color of a text field

Andy Hefner ahefner at gmail.com
Tue Apr 19 19:17:31 UTC 2005


Try repaint-sheet rather than redisplay-frame-pane.

On 4/19/05, Paolo Amoroso <amoroso at mclink.it> wrote:
> 
> "Paul Werkowski" <pw at snoopy.mv.com> writes:
> 
> > | How can I change the color of the text displayed in a text field?
> > | Does the CLIM specification allow this?
> >
> > (make-pane 'text-field :foreground +red+ ....)
> 
> Thanks, but I forgot to mention that I would like to dynamically
> change the text color at runtime.
> 
> Andy suggested the use of pane-foreground. But since there is no setf
> method for pane-foreground, I tried with medium-ink/medium-foreground,
> and a total redisplay with redisplay-frame-pane called on the gadget
> and :force-p t. This does not work.
> 
> 
> Paolo
> --
> Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log
> _______________________________________________
> mcclim-devel mailing list
> mcclim-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20050419/1f048a67/attachment.html>


More information about the mcclim-devel mailing list