X programming with Python:
==========================

This directory contains various examples which show how Xt/Motif
applications can be made in Python. Most of the examples are taken from 
D. Young's Xt/Motif book:
	
	Douglas A. Young - OSF/Motif ed.
	"The X window system : programming applications with Xt"
	Prentice-Hall, 1990

The "Xu.py" file contains a module with some utility functions. Read the
file for more info.

List of examples:
-----------------

memo.py        - displays a string in a window with the XmLabel widget 
memo_eh.py     - how to install an event handler function 
memo_cb.py     - how to install a callback function 
memo_tm.py     - how to use the translation manager 
twoshells.py   - open two toplevel shells (windows)
twoshells2.py  - another way to open two toplevel shells (windows)
pushbutton.py  - usage of the XmPushButton widget
formedit.py    - a simple example of multiple edit fields managed by a 
                 XmBulletinBoard widget
rctest.py      - usage of the XmRowColumn widget
formtest.py    - usage of the constraints of the XmForm widget 
formtest2.py   - 1 more example of the usage of the XmForm widget
listtest.py    - usage of the XmList widget, and shows how a "C" struct
                 returned to a callback function can be unpacked with the
                 "struct" module
menu.py        - demonstrates how a simple popup menu can be made 
menu2.py       - demonstrates how a cascading popup menu can be made 
menu3.py       - demonstrates how a menubar with pulldown menus can be made
menu4.py       - demonstrates how popup menus and menubars can be made with
                 utility functions from the Xu.py module
event1.py      - usage of button event
event2.py      - usage of motion event
event3.py      - usage of keyboard event


Author:
-------

Per Spilling, per@cwi.nl, CWI, Amsterdam, 6-5-93.
