Re: Tkinter or wxpython?



kyosohma@xxxxxxxxx writes:
I've read that Tkinter doesn't scale well if you're writing complex
GUIs. I haven't been able to test this hypothesis though. However,
since I had to rewrite VBA apps into Python, to get the right "look
and feel" I needed the widgets that wxPython provided. Since I started
out with C++, I find wxPython better than Tkinter, but it's all pretty
subjective. Try them both!

Tkinteger (dang, I always end up typing it that way, I won't even
bother fixing the error) is easy to use for simple gui's, and it's
part of the standard python distro which for me is a big advantage (no
extra crap to download). However, the widget set is rather ugly and
doesn't blend in well with anyone's native widgets; the widget
selection itself is rather narrow, and I think kyosohma may be right
that it doesn't scale well to complex gui's. I've looked at the code
for IDLE's gui and it's terrifying.

At this point I think nobody should write desktop gui apps without a
good reason. There is a fairly flexible and easy to program gui
already running on almost every desktop, namely the web browser.
Before you write a gui using some client side toolkit, ask yourself
whether you can instead embed a web server in your application and
write an HTML gui. That approach is not always the answer, but it has
considerable advantages when you can do it that way.
.



Relevant Pages

  • Re: SQL Data driven GUI
    ... the "real" application builds a specifically requested GUI ... by looking into the database for definition of widgets, ... 50 or more widgets on a screen. ... subordinate to that recordset and so forth ...
    (comp.lang.java.gui)
  • Re: Easiest/quickest method for very simple interfaces?
    ... if you want to use Python well, you will probably have to learn ... Oh well, Python has a lot of bindings to GUI things, ... but Anton might not be. ... they don't look like GTK+ or Qt widgets. ...
    (comp.os.linux.misc)
  • Re: SQL Data driven GUI
    ... the "real" application builds a specifically requested GUI ... the widgets are "live" in the sense that merely changing the ... subordinate to that recordset and so forth ... telling me that pixel placement of widgets is EVIL, ...
    (comp.lang.java.gui)
  • Re: Ruby GUI recommendations?
    ... >> Which GUI lib is the best and which is the most widely used? ... >> I would prefer a good minimal OO API, ... > The most complete and stable toolkit you'll find with the better ruby bindings ... > works if you want to use just the basic widgets ...
    (comp.lang.ruby)
  • Re: trolls food (python vs lisp)
    ... LTk or any interface to Tk is nifty, ... A native GUI library gives the Lispnik an event stream and low-level ... Widgets arise from Lisp code processing events and drawing. ...
    (comp.lang.lisp)