home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1680 / README < prev    next >
Encoding:
Text File  |  1990-12-28  |  1.6 KB  |  47 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 is 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. You may have to edit the filename
  28.     used in "ad2c" (the name of the sed script).
  29.  
  30.      2. Execute
  31.         % xmkmf
  32.     to make the Makefile.
  33.  
  34.      3. Execute
  35.         % make depend
  36.     to add the dependencies to the Makefile. IMPORTANT: Ignore the
  37.     warning message from makedepend about missing Xse.ad.h; it will
  38.     be created automatically.
  39.  
  40.      4. Execute
  41.         % make
  42.     to make the program or
  43.         % make install install.man
  44.     to make and install it. Making xse required the program ad2c
  45.     to translate an application-defaults file into C declarations.
  46.     Ad2c should be included with this distribution.
  47.