1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
cde/cde/examples/tt
2018-05-20 12:13:07 -06:00
..
broadcast.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
Makefile.FreeBSD examples/tt now runs on FreeBSD 2012-08-22 21:04:30 -06:00
Makefile.hp Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
Makefile.ibm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
Makefile.sun Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
README Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00

/* $XConsortium: */

Introduction

   The purpose of this demo program is to show the use of some ToolTalk
   APIs.  In particular, this program creates and registers a pattern,
   creates a notification message and sends it (to itself) and receives
   a message.

Building and Running the Demo Program

   To build the demo program:

      % make -f Makefile.<PLATFORM>

	where <PLATFORM> is replaced with the name of your system's 
	platform type.

   To run the program:

      % broadcast

   When the "Broadcast" button is pressed, the program creates a
   notifcation message, increments a counter for the number of messages
   sent, sets the "Send" slider to the value of the counter and then
   sends the message.

   When the program receives a message, it updates the "Received"
   slider to the number of messages received.