[Openmcl-devel] Lisp User Interface LUI

Alexander Repenning ralex at cs.colorado.edu
Fri Jan 9 22:01:20 PST 2009

typically, you would use a symbol instead of a number to indicate a  
lisp function, e.g.,

<window width="half-of-height" ../>


(defun half-of-height ((w window))
   (* 0.5 (height w)))

On Jan 9, 2009, at 7:14 AM, Robert Goldman wrote:

> This approach looks very interesting.  A question about pushing it
> further --- in the style sheets, would it be possible to use symbolic
> expressions for some of the attributes (e.g., to compute some of the
> sizes)?  I used to use the Garnet constraint-based UI toolkit quite a
> bit, and really came to like it for that reason.  For example, in  
> laying
> out Gantt charts, it was handy to be able to have ribbons whose
> dimensions were computed functions of the size of the window and the
> duration of the corresponding activities.
> Best,
> r
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

Prof. Alexander Repenning

University of Colorado
Computer Science Department
Boulder, CO 80309-430

vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090109/1b1b3c32/attachment.htm>

More information about the Openmcl-devel mailing list