[Tkinter-discuss] Tkinter to Qt-whatever

Bryan Oakley bryan.oakley at gmail.com
Thu Nov 14 10:44:10 EST 2019


tkdocs.com is a real gem! You've done a masterful job of explaining tk and
tkinter, and it is by far the best documentation on how to use and
configure ttk. In fact, I was visiting there today to re-remind myself
about how ttk layouts work.

On Wed, Nov 13, 2019 at 8:20 PM Mark Roseman <mark at markroseman.com> wrote:

> Hi Bob,
>
> You really should look at the ttk stuff, it’s the easiest migration path
> to quite decent looking GUI’s. As you note, the “classic” widgets haven’t
> changed at all in decades. So without the (minimal) API changes to use the
> ttk widgets, you’re stuck in the deep past. (Also, please ignore Tix if
> you’re looking for improvements in UI)
>
> Have a quick look at the tutorial on my site www.tkdocs.com to get a
> sense of what’s involved. The last chapter of the tutorial is a case study
> on modernizing Python’s IDLE, if you’re looking for some before and after..
>
> Mark
>
>
> On Nov 12, 2019, at 12:09 PM, Robert Greschke <robert at greschke.com> wrote:
>
> So pigs have started sprouting wings and I guess "we" (work) are going to
> start shifting to Qt/PySide2/whatever. I've been playing around for a few
> weeks and what a mess compared to Tkinter. Does anyone know/think something
> like Qt-based classes could be written that are called just like and act
> just like Tkinter Button()s/Frame()s/Entry()s/etc. but spit out Qt widgets?
> I've got tens of thousands of lines of just Tkinter code (in hundreds of
> thousands of lines of Python code), that I probably won't HAVE to rewrite,
> but something like that would be pretty spiffy for running the old stuff
> and for writing new stuff. Maybe someone will come to their senses and well
> go back to Tkinter. :) There is nothing Qt widgets do that I need beyond
> the Tkinter basics...if I can figure out how to even do that stuff. I know
> some functions may not work out, but it could be worth a try, and either
> way I guess I'd get to know Qt better.
>
> Thanks!
>
> Bob
>
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> https://mail.python.org/mailman/listinfo/tkinter-discuss
>
>
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> https://mail.python.org/mailman/listinfo/tkinter-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20191114/bec65258/attachment.html>


More information about the Tkinter-discuss mailing list