How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"?
John Salerno
johnjsal at gmail.com
Mon Mar 5 00:53:45 EST 2012
On Sunday, March 4, 2012 7:39:27 PM UTC-6, Rick Johnson wrote:
> On Mar 2, 11:06 pm, John Salerno <johnj... at gmail.com> wrote:
> > I'm tempted just to go back to wxPython. Two sets of widgets in Tkinter is a little annoying.
>
> Your complaint is justified. The Tkinter API is a disgrace. IDLE's
> source is just as bad. Luckily i have not made the jump to py3000 full-
> time yet, but when i do, i think the first item on my to-do list will
> be to hack this hideous tk+ttk+blah+blah into something more
> friendly.
>
> Heck, maybe i'll even release it!
Well, after reading about the themed widgets and using them a bit, they definitely seem a lot cleaner than the old ones. Just comparing the attributes of the new and old widgets is a big difference. Much more streamlined.
More information about the Python-list
mailing list