[mcclim-cvs] CVS update: mcclim/decls.lisp
Robert Goldman
rgoldman at common-lisp.net
Tue Dec 6 13:40:07 UTC 2005
Update of /project/mcclim/cvsroot/mcclim
In directory common-lisp.net:/tmp/cvs-serv25420
Modified Files:
decls.lisp
Log Message:
No functional change; just added documentation string to compose-space.
Date: Tue Dec 6 14:40:06 2005
Author: rgoldman
Index: mcclim/decls.lisp
diff -u mcclim/decls.lisp:1.33 mcclim/decls.lisp:1.34
--- mcclim/decls.lisp:1.33 Thu Dec 1 12:10:54 2005
+++ mcclim/decls.lisp Tue Dec 6 14:40:04 2005
@@ -390,7 +390,14 @@
;; space-requirement+ sr1 sr2 [Function]
;; space-requirement+* space-req &key width min-width max-width height min-height max-height [Function]
-(defgeneric compose-space (pane &key width height))
+(defgeneric compose-space (pane &key width height)
+ (:documentation "During the space composition pass, a composite pane will
+typically ask each of its children how much space it requires by calling COMPOSE-SPACE.
+They answer by returning space-requirement objects. The composite will then form
+its own space requirement by composing the space requirements of its children
+according to its own rules for laying out its children.
+
+Returns a SPACE-REQUIREMENT object."))
(defgeneric allocate-space (pane width height))
(defgeneric change-space-requirements
(pane &rest space-req-keys &key resize-frame width height
More information about the Mcclim-cvs
mailing list