README 836 B

123456789101112131415161718192021222324252627282930
  1. /* $XConsortium: */
  2. Introduction
  3. The purpose of this demo program is to show the use of some ToolTalk
  4. APIs. In particular, this program creates and registers a pattern,
  5. creates a notification message and sends it (to itself) and receives
  6. a message.
  7. Building and Running the Demo Program
  8. To build the demo program:
  9. % make -f Makefile.<PLATFORM>
  10. where <PLATFORM> is replaced with the name of your system's
  11. platform type.
  12. To run the program:
  13. % broadcast
  14. When the "Broadcast" button is pressed, the program creates a
  15. notifcation message, increments a counter for the number of messages
  16. sent, sets the "Send" slider to the value of the counter and then
  17. sends the message.
  18. When the program receives a message, it updates the "Received"
  19. slider to the number of messages received.