Installing PyTix
----------------

0) To use PyTix, you need Tcl (V7.4), Tk (V4.0), Tix (V4.0) and Python (V1.3).
   PyTix has been written and tested on a Sun Sparc running Solaris 2.3
   with the above mentioned packages.

   There is nothing OS-specific in PyTix itself so it should work on
   any machine with Tix and Python installed.

1) Build and install Tcl 7.4, Tk 4.0 and Tix 4.0.
   Ensure that Tix is properly installed by running tixwish and executing
   the demo programs

2) Modify tkintermodule.c in the Modules directory of the Python distribution.
   In the routine Tcl_AppInit(), add the following lines just after the
   block which calls to Tk_Init().

	  if (Tix_Init (interp) == TCL_ERROR) {
	    fprintf(stderr, "Tix_Init error: %s\n", interp->result);
	    return TCL_ERROR;
	  }

3) Modify the Modules/Setup file to link in the Tix library. On Solaris,
   this looks like

	tkinter tkintermodule.c -I/usr/local/include -L/usr/local/lib \
		-ltix4.0 -ltk4.0 -ltcl7.4 -lXpm -lX11

4) Copy Tix.py and the modified Tkinter.py to Lib/tkinter. If you have
   modified Tkinter for any reason, just apply the diffs by hand. There
   are only a few changes (see Tkinter.diff)

5) Rebuild Python and reinstall.

You should now have a working Tix implementation in Python. To see if all
is as it should be, run the 'tixwidgets.py' script in the demos directory.

If you find any bugs or have suggestions for improvement, please report them
to me.

Sudhir Shenoy (sshenoy@gol.com)
