This directory contains example programs for the use of the GUI library.

Each example consists of one file (except swp) and the name of this
file is generally the same as the class in GUI that it illustrates.

In some cases the file name includes the GUI class name,for example:
PushButtonInActiveClass.scxx, PushButtonInMain.scxx.

Example: ArrowButton.scxx -> the example program name is ArrowButton
	 The example illustrates the use of the ArrowButton class,
	 which is an implementation of the Motif ArrowButton concept.

To run the ArrowButton demo, types the commands:
  make ArrowButton
  ./ArrowButton

and this applies to any .scxx file (any .scxx file names).


The examples 'hello' and 'swp' are special:

	The 'hello' example is the classic hello world program using the GUI
	library.

	The 'swp' example is a simulation of the Sliding Window protocol (a
	network communication protocol) which is implemented to use multiple
	windows.

You can use the GUI displayed controls in the usual way.
If adequate, the program will display messages in the standard
output (f.ex. the xterm console).

Most of the used terminology (as the implementation) is based in Motif
terminology; refers to Motif documentation for details (not for
programming paradigm).
Comments in the example's source code will explain particular GUI
aspects for the particular example.
Comments in the GUI headers files are also valuable documentation.

Enjoy yourself using GUI!!!.

sC++ team.
  e-mail: scxx@di.epfl.ch
  WEB   : http://ltiwww.epfl.ch/sCxx
