Tkinter updates - Easiest way to install/use Tile?

Mudcat mnations at gmail.com
Wed Aug 13 13:10:47 EDT 2008


So I haven't programmed much in Python the past couple of years and
have been catching up the last few days by reading the boards. I'll be
making commercial Python applications again and wanted to see what's
new in the Gui department.

I started using Tkinter several years ago and have a lot of stuff
written in it. As a result, it's hard to switch to another interface
(wxPython, PyQt, etc) with all the hours it would take to reproduce
code I will re-use. (I mention this to avoid the inevitable post
asking why I'm still using it). While I was able to produce some nice
applications in the past and am comfortable with the functionality I
was able to achieve I still wanted to find a way to improve the look
since the old look is even more dated now.

I was reading about Tile, and it sounds like I should be able to wrap
a style around my current code to give it a different look. However it
doesn't sound like it's quite ready for prime time yet. I downloaded
the latest stable version of Python 2.5 which apparently still uses
Tcl 8.4. So my options at this point appear to be:

1) Download beta version of Python 2.6 which has Tcl 8.5.
Tile is supposed to be included with Tcl 8.5, but there's not much
information on how to use it with older code. Do I still need wrapper
code, or if I install 2.6 will it be available already.

2) Install Tcl 8.5 to use with Python 2.5.
How do you do this? In other posts it mentions recompiling source tcl
code with Python. If that's the case it doesn't sound like something I
want to mess with. If I stray too far from default configurations I
start to have problems with py2exe.

3) Install Tile with Python 2.5 and Tcl 8.4 and use wrapper code to
make it work.
However all the posts concerning this approach assume that Tile is
already installed. I downloaded the code for the latest version of
Tile which was a .kit extension. This also may need to be compiled,
and if that's the case I again start to have problems with freezing my
application.

What's the easiest way to do this? I really couldn't find a place that
gave instructions for any of the current release configurations. It
sounds if it's available already in Python 2.6 that it would be the
easiest way, but I couldn't find any threads talking about the
availability of it for that release yet.

Thanks



More information about the Python-list mailing list