tcl2py: Convert SpecTcl output to Tkinter
I wrote this because "SpecPython" does not work with the current
version of SpecTcl and I didn't want to mess with Tcl code to fix it.
I have used it for some simple interfaces, and it worked fine. Let
me know if you have trouble with it.
Like SpecPython, it creates a class which you can then subclass to
derive an application class.
# this little program does not aim to be a full-blown tcl to Python
# translator. It only attempts to convert the output of SpecTcl1.1
# into working Python/Tkinter code. It is fairly hackish!
# I wrote this because I didn't want to mess with Tcl code to do this
# internally in SpecTcl, and I think it's less work to rearrange
# the generated Tcl code into Python/Tkinter rather than parsing the
# .ui ("WidGet") file. Besides I can't find any documentation on the
# structure of WidGet files.
Contact:
[email protected]