home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1670 / README < prev    next >
Encoding:
Text File  |  1990-12-28  |  1.6 KB  |  46 lines

  1.         XSE - An interface to XSendEvent()
  2.  
  3.         George Ferguson, ferguson@cs.rochester.edu
  4.  
  5. OVERVIEW:
  6.  
  7. Xse provides an interface to XSendEvent(); sort of an inverse of xev(1).
  8. It provides two interfaces depending on how it is invoked. If extra
  9. command-line arguments are given, then these are parsed into an event
  10. sequence and sent to the proper window (either the default or the one
  11. given by the "-window" argument). If no event sequence is given, then
  12. xse creates a tool as specified by the "widgets" resource of its
  13. application-defaults file. Presumably this tool will create Command buttons
  14. or menus which will use the xse-send() and xse-quit() actions.
  15.  
  16. Included in this distribution is the program "ad2c" which converts an
  17. application-defaults file to C declarations for inclusion as fallback
  18. resources. Also, the code used to specify and create widgets from a
  19. resource entry in very modular (see translate.c and initWidgets() in
  20. xse.c).
  21.  
  22.  
  23. INSTALLATION:
  24.  
  25.      1. Edit the Imakefile as necessary to reflect changes for your
  26.     site. In particular, you may want to set BINDIR and MANDIR to
  27.     change the install targets.
  28.  
  29.      2. Execute
  30.         % xmkmf
  31.     to make the Makefile.
  32.  
  33.      3. Execute
  34.         % make depend
  35.     to add the dependencies to the Makefile. IMPORTANT: Ignore the
  36.     warning message from makedepend about missing Xse.ad.h; it will
  37.     be created automatically.
  38.  
  39.      4. Execute
  40.         % make
  41.     to make the program or
  42.         % make install install.man
  43.     to make and install it. Making xse required the program ad2c
  44.     to translate an application-defaults file into C declarations.
  45.     Ad2c should be included with this distribution.
  46.