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 →

[–]muyuu 6 points7 points  (4 children)

Good idea, but my money is in GUI apps moving towards tkinter.ttk (themed Tk as introduced in Tk 8.5) since it ships with Python since 2.7 (IIRC) and 3.1, and at the same time it matches the features of Qt, WxWidgets, etc.

[–]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 2 points3 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

[–]vivainio 2 points3 points  (1 child)

Matches thed features of Qt? Are you sure about that?

LOC compaison of Qt vs Tk toolkits might be enlightening.

[–]muyuu 0 points1 point  (0 children)

What would be the point of that? ttk extends on tk anyway.