home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xcu16.zip / Readme.dir / widgets < prev   
Text File  |  1991-10-03  |  3KB  |  83 lines

  1. The Xcu widget set contains the following widgets:
  2.  
  3. Two Geometry Manager Widgets :
  4.  
  5.   Tbl
  6.  
  7.     Layout according to "tbl" formats (the troff preprocessor).
  8.     It is very effective for laying out a fixed number of widgets
  9.     in a rectangular area.  Simple row/column matrices
  10.     are a small subset of its capabilities.
  11.     Handles resizes (from above and below) very elegantly.
  12.  
  13.   Deck
  14.  
  15.     Maintain widgets one on top of the other, so that they are all the
  16.     same size and only one is visible at a time.  Useful for "pages"
  17.     of a menu.
  18.  
  19. A rework of the Xaw Simple/Label/Command widgets :
  20.  
  21.   Simple, SimpleComp, SimpleCompConst
  22.     
  23.     Puts very nice looking picture frames around subclassed widgets.
  24.     Alternately, puts a shadow behind derived widgets.  The three versions
  25.     are for non-composite, composite, and constrained composite widgets,
  26.     respectively.
  27.  
  28.     In addition to cursor sensitive responses in non-composite widgets,
  29.     this class permits cursor color control.
  30.  
  31.   Label
  32.     
  33.     Permits multiple lines of text with left, center, or right justification.
  34.     Has a "biggestLabel" resource that lets it be initially sized large
  35.     enough to encompass any reasonable text changes without annoying resizes.
  36.     Has a gravity resource.
  37.  
  38.   Command
  39.     
  40.     No new features -- just rederived from the above.
  41.  
  42. A text entry widget :
  43.  
  44.   Entry
  45.  
  46.     This widget changes its label to reflect input from the keyboard when the
  47.     cursor is in the widget.  It can make callbacks when the text is completed,
  48.     so it is useful for keyboard entry of single or multi-line text.
  49.     As an added frill, if the widget is expecting its label to be the name
  50.     of a color, it changes its background to the color that was input.
  51.  
  52. A button manager widget :
  53.  
  54.   Bmgr
  55.     
  56.     This button manager divorces layout semantics from the button
  57.     semantics.  It is not a geometry manager.  Button widgets are
  58.     registered with it via public routines.  This is a big win when
  59.     semantically associated buttons must be spread out among a variety
  60.     of geometry managers, or, conversely, there must be a number of
  61.     different kinds of buttons under the layout control of a single
  62.     geometry manager.  It understands single and double button toggles, 
  63.     one of many, any of many, etc.
  64.  
  65.   Button
  66.     
  67.     Similar to the Command widget, but it is tailored for use with
  68.     the Bmgr widget.  The primary difference is that it relies on
  69.     the Bmgr widget to inform it of its state.
  70.  
  71.  
  72. And last, but definitely not least:
  73.  
  74.   Wlm
  75.  
  76.     This is a widget that builds a widget tree from a layout description
  77.     language and mediates many of the widget/client communications.
  78.     Menus can be designed, tested, and modified without writing a
  79.     single line of client code.  The description language has
  80.     notations for inter-widget communications that permit complex
  81.     menu semantics to be implemented completely ouside of the client.
  82.  
  83.