home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / tcl / 1860 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.8 KB  |  47 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!eco.twg.com!twg.com!news
  3. From: "David Herron" <david@twg.com>
  4. Subject: Re: Wanted: Geometry handlers like TeX Glue...
  5. Message-ID: <1992Nov18.003342.1419@twg.com>
  6. Sensitivity: Personal
  7. Encoding:  27 TEXT , 4 TEXT 
  8. Sender: news@twg.com (USENET News System)
  9. Conversion: Prohibited
  10. Organization: The Wollongong Group, Inc., Palo Alto, CA
  11. Conversion-With-Loss: Prohibited
  12. Date: Wed, 18 Nov 1992 00:37:56 GMT
  13. Lines: 32
  14.  
  15. Note: I do not have much direct experience with TeX's box+glue.  But
  16. I have read the TeXBook, and the section of the Interviews manual which
  17. talks about their geometry handler which is box+glue based.  I also used
  18. the latter as a guide in writing my own box+glue geometry handler for
  19. use within XVT based applications.
  20.  
  21. The packer is a whole lot like box+glue without some of the richness.
  22. Objects placed within the packer can only (easily) be placed along
  23. one axis.  To get a complicated layout you use multiple frames and
  24. pack each frame differently.
  25.  
  26. This isn't to say that I don't want a more powerful and/or easier
  27. to use geometry handler in Tk (because I do).  But I'm not convinced
  28. that the box+glue paradigm is wonderful nor is it everything that one
  29. might want.
  30.  
  31. Other toolkits with which I have experience have
  32.  
  33. row-column for enforcing an array-like layout.  This is used mostly
  34. for menus however.
  35.  
  36. `form' to handle fancy arrangements where one describes the layout
  37. with attachments to other widgets on the screen.
  38.  
  39. `table' to do a tbl style layout.  You give a pattern to use in placing
  40. the widgets, then create the widgets.
  41.  
  42.  
  43. <- David Herron <david@twg.com> (work) <david@davids.mmdf.com> (home)
  44. <-
  45. <- During the '80s Usenet's mantra was: "Not all the world's a VAX".
  46. <- During the '90s I hope it becomes:   "Not all the world's DOS (ick)".
  47.