home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / lisp / mcl / 1233 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.2 KB  |  34 lines

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