Tix.Grid
This is a version of the Tix module from Python's standard library that implements the
Grid and ScrolledGrid widgets.
The Tix.Grid class provides a simple table widget for use with Tkinter.
I used the original Tix module that came with Python-2.4.1 and only changed the Grid and
ScrolledGrid classes and added the _dummyGrid class, so in case you want to try it,
it should be no problem to copy the changed Tix.py into your application's directory
and use the other Tkinter and Tix widgets as usual.
If you are interested what it looks like, here is
a screenshot of a (quite simple) ScrolledGrid on my linux box with IceWM.
Please note that the tixGrid widget is still alpha state; I tried to implement all
available methods, however, some of these do not seem to work at all, some methods may only
work partially. A couple of methods are not documented at all in the Tix distribution, so
they probably should be used with care. Some of the Python implementations I wrote might also be buggy.
I packed the Tix module together with a very simple "demo" script. For documentation please
refer to the docstrings and comments I added in the Tix module (you find the Grid class right at the
bottom of the source) and have a look at the usage examples in the test.py demo.
Please report your experience, good or bad, to:
Michael Lange <klappnase (at) freakmail (dot) de>.
Download: TixGrid-0.1.zip
(Back)