home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xcu16.zip / clients / xlayout / README < prev    next >
Text File  |  1991-10-03  |  2KB  |  41 lines

  1. xlayout is a simple client that allows a widget description language
  2. programmer to test a layout.
  3.  
  4. xlayout.wh contains all the Xcu widgets, so xlayout.c will not need
  5. recompiling until widgets from other sources are included in a
  6. description language file.
  7.  
  8. To test a layout, merely issue the following two commands, where name
  9. is the name of the layout description file with a .wl extension,
  10. e.g., name.wl :
  11.  
  12.     ../../wlmCompiler/wlc name
  13.     xlayout name
  14.  
  15. The following sample layout descriptions are included in this directory:
  16.  
  17.     (bw_)bmgr   : shows the five XcuBmgr (button manager) semantics
  18.     (bw_)menu   : shows a common menu device using the XcuDeck widget
  19.     (bw_)shadow : shows facets vs. shadow and sensitive vs. insensitive
  20.     (bw_)manip  : shows a graphics manipulation menu
  21.  
  22.     The bw_ versions work better for displays without good colors
  23.  
  24. IMPORTANT HINT:  You will want a customized version of this program
  25. on your system when you get around to writing layout descriptions with
  26. non-Xcu widgets.
  27.  
  28. To customize, all you have to do is put the widgets you will use
  29. in xlayout.wh.  Then, to test menus all you need is xlayout, wlc, and an
  30. editor.  Repeat the following three steps until satisfied:
  31.  
  32.     1) vi layout.wl
  33.     2) wlc layout
  34.     3) xlayout layout
  35.  
  36. No application code, hence no compiling, no linking.  The only thing
  37. you can't test are things like callbacks to your application.  It is 
  38. literally possible to do one iteration of the above in under 15 seconds.
  39. I've made lots of minor adjustments to menus in just that fashion.
  40.  
  41.