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

  1. This file describes where in this directory you can find
  2. each code example in the book.  These page numbers are for the
  3. first through fourth printings.
  4. .LP
  5. .TS H
  6. ;
  7. lb lb lb lb
  8. l l l l.
  9. Example    Page    File    Description
  10. _
  11. .TH
  12. 3-1    51    basic/basicwin.c    basicwin \(em include files and declarations
  13. 3-2    53    basic/basicwin.c    basicwin \(em connecting to the server
  14. 3-3    56    basic/basicwin.c    Code fragment for getting display dimensions \(em using macros
  15. 3-4    57    fragment    Another way to get window size \(em using XGetGeometry
  16. 3-5    57    fragment    A third way to get window size \(em using XGetWindowAttributes
  17. 3-6    58    basic/basicwin.c    basicwin \(em creating a window
  18. 3-7    59    basic/basicwin.c    basicwin \(em creating an icon pixmap
  19. 3-9    61    basic/basicwin.c    basicwin \(em setting standard properties
  20. 3-11    64    basic/basicwin.c    basicwin \(em selecting desired event types
  21. 3-12    65    basic/basicwin.c    basicwin \(em mapping the window
  22. 3-13    66    basic/basicwin.c    basicwin \(em processing events
  23. 3-15    71    basic/basicwin.c    Handling Expose events for simple window contents
  24. 3-16    72    doreg/basicwin.c    Handling Expose events for complex window contents
  25. 3-17    75    basic/basicwin.c    basicwin \(em the ConfigureNotify event
  26. 3-18    76    basic/basicwin.c    Closing the display connection and freeing resources
  27. 3-19    77    basic/basicwin.c    basicwin \(em in its entirety
  28. 4-2    87    fragment    Setting window attributes while creating a window
  29. 4-3    87    fragment    Changing window attributes of existing window
  30. 5-2    111    fragment    Example of setting a GC while creating it
  31. 5-3    112    fragment    Example of setting default GC, then changing it
  32. 5-4    112    fragment    Example of switching graphics contexts
  33. 5-6    125    dashes/basic.c    Code segment specifying five styles of dashed line in five GCs
  34. 5-7    127    none    Setting line characteristics in a GC
  35. 6-1    142    basic/basicwin.c    The draw_graphics routine
  36. 6-2    143    winman    The draw_box routine
  37. 6-3    145    tiles/stuff.c and basic.c    Creating a stipple from included data
  38. 6-4    150    basic/basicwin.c    The load_font routine
  39. 6-8    157    basic/basicwin.c    The draw_text routine
  40. 6-11    167    reflect/basic.c and reflect.c    Example using images \(em reflect_window
  41. 6-14    169    fragment    Creating a Cursor from the standard cursor font
  42. 7-2    186    color/get_color.ro.c    Allocating a read-only colorcell
  43. 7-3    188    fragment    explicit RGB specification
  44. 7-4    192    color/get_color.rw.c    XAllocColorCells allocating read/write colorcells for overlay plane
  45. 7-5    195    not included    Using XAllocColorPlanes to allocate colorcells for DirectColor
  46. 7-8    203    color/rgb_best.frag    Code to install and use XA_RGB_BEST_MAP
  47. 7-9    204    color/fprgb.frag    Calculating pixel values from floating point RGB values
  48. 7-10    205    color/intrgb.frag    Calculating pixel values from integer RGB values
  49. 7-11    207    fragment    A code fragment to use color or monochrome as appropriate
  50. 7-12    28    color/get_color.ro.c or rw    Finding the default visual
  51. 7-14    210    getvis/visual.frag    Code to match visuals
  52. 8-3    220    winman    An event-handling loop
  53. 8-4    223    winman    An include file for printing the event type \(em eventnames.h
  54. 8-5    223    winman    Printing the event type
  55. 8-6    227    predproc/basicwin.c    A predicate procedure and XIfEvent call
  56. 8-7    230    basic/basicwin.c    An example of selecting input
  57. 8-8    245    fragment    Masking the high bit (Release 1 only)
  58. 9-3    251    fragment    Translating a key event to keysym and ASCII
  59. 9-4    253    popup/basicwin.c    Implementing a dialog box
  60. 9-5    257    popup/basicwin.c    Mapping keys to strings
  61. 9-6    262    not included    An application for server-wide keymapping
  62. 9-8    267    motion/basicmot.c    Getting all motion events
  63. 9-9    269    motion/motionhint.c    Using pointer motion hints
  64. 9-11    271    not supported on servers    Reading the motion history buffer
  65. 9-12    274    winman/winman.c    Accepting button events in pairs
  66. 9-13    278    trans/basicwin.c    Monitoring whether keyboard input will be available
  67. 10-6    305    fragment    Setting the primary selection to a line number
  68. 10-7    306    fragment    Code to ensure transfer of selection ownership
  69. 11-1    317    see basecalc    Handling program options with XGetDefault
  70. 11-2    320    not included    Processing geometry option using program defaults file
  71. 12-1    338    basecalc/basecalc.c    basecalc \(em include files
  72. 12-2    338    basecalc/basecalc.c    basecalc \(em the main
  73. 12-4    340    basecalc/basecalc.c    The parseOpenDisp routine
  74. 12-6    344    basecalc/basecalc.c    The GetUsersDataBase routine
  75. 12-7    345    not included    Reading the XA_RESOURCE_MANAGER property
  76. 12-8    346    basecalc/basecalc.c    basecalc \(em the mergeOpts routine
  77. 12-9    349    basecalc/basecalc.c    basecalc \(em the Usage routine
  78. 12-10    349    basecalc/basecalc.c    basecalc \(em declarations for initCalc
  79. 12-11    351    basecalc/basecalc.c    basecalc \(em the initCalc routine
  80. 12-12    354    basecalc/basecalc.c    basecalc \(em the selectEvents routine
  81. 12-13    354    basecalc/basecalc.c    basecalc \(em the takeEvents routine
  82. 12-14    356    basecalc/basecalc.c    basecalc \(em the drawButton routine
  83. 14-1    383    winman/winman.c    winman \(em main C program
  84. 14-2    391    Use event-getting routines together
  85. 14-3    393    winman/winman.c    winman \(em the paint_pane routine
  86. 14-4    394    winman/winman.c    winman \(em the circle up and circle down routines
  87. 14-5    395    winman/winman.c    winman \(em the raise and lower routines
  88. 14-6    396    winman/winman.c    winman \(em the move and resize routines
  89. 14-7    400    winman/winman.c    winman \(em the iconify routine
  90. 14-8    401    winman/Icons.c    winman \(em the isIcon routine
  91. 14-9    403    winman/Icons.c    winman \(em the makeIcon routine
  92. 14-10    405    winman/Icons.c    winman \(em the getDefaultIconSize and getIconName routines
  93. 14-11    406    winman/Icons.c    winman \(em The finishIcon routine
  94. 14-12    407    winman/Icons.c    winman \(em the removeIcon routine
  95. 14-13    48    winman/winman.c    winman \(em the focus routine
  96. 14-14    410    winman/winman.c    winman \(em the draw_focus_frame routine
  97. 14-15    411    winman/winman.c    winman \(em the execute routine
  98. 14-16    412    winman/winman.c    winman \(em code for assisting execution of shell commands
  99. B-2    435    winman/box.c    draw_box implemented with X Version 10 XDraw
  100. D-2    467    basecalc/basecalc.c    Remaining code for basecalc
  101. .TE
  102.