[Tutor] tkinter
Michael Lange
klappnase at freenet.de
Tue Oct 10 00:43:25 CEST 2006
On Mon, 9 Oct 2006 14:00:26 +0100
"Alan Gauld" <alan.gauld at btinternet.com> wrote:
> > We try to build new software using python and tkinter. We would like
> > to
> > enter some fields using grid style.
>
> Based on the fact that you say:
>
> > these. I hope I could explain I did not mean this grid which is
> > using
> > instead of pack.
>
> I assume you mean like a spreadsheet grid of cells?
>
> > we wonder if there is already some classes or widgets to do this.
>
> I'm not aware of such a control but its quite likely someone has
> built one. Try asking on the Tkinter mailing list, they are more
> likely to know.
>
As far as I know the tktable widget (http://tktable.sourceforge.net) is a quite advanced
spreadsheet widget, and there is a Python wrapper module in the demos directory, I never used
it though.
Another option is the Tix.Grid, unfortunately there is only a partially implememted (and partially broken)
python interface included in the Python-2.5 Tix module.
For more functionality you can try the Tix.Grid wrapper I wrote a while ago (http://www.8ung.at/klappnase/TixGrid/TixGrid.html),
however it is not much tested and the tixGrid itself seems to be alpha or beta quality, some
methods do not seem to have any effect.
I hope this helps
Michael
More information about the Tutor
mailing list