home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xlibpr3.zip / basicwin / README < prev   
Text File  |  1990-08-08  |  2KB  |  57 lines

  1. This directory contains many variations based on basicwin, the program
  2. used as an example in Chapter 3.  Parts of many of these examples are 
  3. used elsewhere in the book, and some of them were just modified to 
  4. demonstrate certain X features.
  5.  
  6. Note that only a few of these programs conform to the current 
  7. Interclient Communication Conventions (ICCCM), namely the
  8. example in the directory basic.  These programs
  9. were written before the advent of the current ICCCM, and it doesn't
  10. seem worth changing them all since they still run fine and still 
  11. demonstrate what they were originally intended to.
  12. But if you actually intend to write a program with Xlib (not use
  13. a Toolkit), use basic/basicwin.c as the example for setting window
  14. manager properties.
  15.  
  16. The directories available are:
  17.  
  18. attribs        demonstrates win gravity and was used to check whether
  19.         background pixmaps or pixel values take precedence and the
  20.         same for borders.  Not used in the book.
  21. basic
  22.         The basic basicwin.  This may have been modified before
  23.         using it in the book.  Namely, the XGetIconSizes code has
  24.         been taken out since there is nothing good to do with this
  25.         info yet.
  26. bitmaps
  27.         The icon bitmap data for basicwin. No programs.
  28. color
  29.         Several different routines that handle color.  One
  30.         gets read-only colors, one gets read/write colors, 
  31.         another read/write colors for overlays.  
  32. dashes
  33.         Sets up a bunch of line dashes in separate GCs, and
  34.         draws them.
  35. doreg
  36.         Demonstrates Exposure processing using regions.
  37.         (May not be working properly.)
  38. getvis
  39.         gets information about default visuals and standard colormaps.
  40. motion
  41.         Examples demonstrating tracking pointer motion in two 
  42.         ways, using all motion events and using motion hints.
  43.         Both programs implement a simple drawing program in 
  44.         their subwindow.
  45. popup
  46.         Implements a pop-up box you can type into.
  47. predproc
  48.         Implements a predicate procedure for processing events.
  49. reflect
  50.         Uses images to create a reflection of a window.
  51. tiles
  52.         Code for creating bitmaps from included data and 
  53.         from reading a file.
  54. trans
  55.         Example for tracking whether keyboard is active, using
  56.         focus and border crossing events
  57.