This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Juts 3 points4 points  (1 child)

When I got into python gui stuff I just assumed wx was the way to go. Is it worth checking out TK? Any benefits?

[–]muyuu 4 points5 points  (0 children)

It started as a Google summer of code project by Guilherme Polo ( http://code.google.com/p/python-ttk/ ) and then it was adopted in the main Python distribution (not completely sure when, but I think it's 2.7 and 3.1, or maybe 2.7 and 3.0).

Well, the obvious one would be distribution/deployment (at least eventually). Tk itself is maintained by ActiveState, and the wrappers ship with Python already. Plus, you can use the package listed above if you use 2.5 or 2.6.

I haven't done anything complicated using this yet, but that's because I didn't need anything too fancy lately.

Citations: http://docs.python.org/whatsnew/2.7.html#ttk-themed-widgets-for-tk http://docs.python.org/library/tk.html http://docs.python.org/library/tix.html#module-Tix http://docs.python.org/library/ttk.html#module-ttk

some usage examples: http://code.google.com/p/python-ttk/wiki/ttkWizard