[cells-gtk-devel] Re: [cells-devel] Newbie questions

Peter Denno peter.denno at nist.gov
Sat Mar 5 16:22:42 UTC 2005


On Saturday 05 March 2005 10:24, Kenny Tilton wrote:
> Yes. There is an :unchanged-if option (default EQL (supplied by Cells
> internals)) on slot definitions in DEFMODEL:
>
> Example from Cello:
> (defmodel image (ogl-node model)
>    ((clipped :cell nil :initarg :clipped :initform nil :reader clipped)
>     (inset :initarg :inset
>       :unchanged-if 'v2=

I would have thought that :unchanged-if would take a function of one value. 
Are you saying here that it still uses EQL, but instead of checking against 
old-value #'(lambda (x) (eql old-value new-value)) it is doing #'(lambda (x) 
(eql new-value 'v2=)) ?

-- 
Best Regards,
 - Peter



More information about the cells-gtk-devel mailing list