home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp.mcl
- Path: sparky!uunet!destroyer!ncar!uchinews!owens
- From: owens@jonquil.uchicago.edu (Christopher Owens)
- Subject: window-size-parts
- Message-ID: <1992Aug14.204332.21963@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
- Organization: Dept of Computer Science, The Univ of Chicago
- Date: Fri, 14 Aug 1992 20:43:32 GMT
- Lines: 23
-
-
- I'm playing with the window-size-parts generic function of MCL2.0
-
- It seems that the default initialize-instance method for windows is
- calling window-size-parts at some point in processing before the views
- specified as a :view-subviews initarg have been added to the window.
-
- I grotesquely hacked around this by
- 1) writing my window-size-parts method to do nothing if
- view-subviews of the window is of length 0, and
- 2) adding an initialize-instance :after method on my window
- class that calls window-size-parts again.
-
- But there has to be a better way. Ideas?
-
- Abstracting a bit, has anyone put together a little constraint
- language for specifying the internal geometry of windows that are apt
- to get resized? Something like application-frame layout parameters in
- CLIM strikes me one promising approach, for example.
-
-
-
-
-