What's the best GUI toolkit in Python,Tkinter,wxPython,QT,GTK?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom

    What's the best GUI toolkit in Python,Tkinter,wxPython,QT,GTK?

    1) Portable to Windows, Unix-like platforms, and the Macintosh;
    2) Powerful, GUI is very beautiful ;
    3) Efficiency of development is high;

    What's the best, Tkinter, wxPython, QT, GTK or other?

    Thanks!

  • Jarek Zgoda

    #2
    Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

    Tom napisa³(a):
    [color=blue]
    > 1) Portable to Windows, Unix-like platforms, and the Macintosh;
    > 2) Powerful, GUI is very beautiful ;
    > 3) Efficiency of development is high;
    >
    > What's the best, Tkinter, wxPython, QT, GTK or other?[/color]

    It depends on your personal taste.

    --
    Jarek Zgoda
    http://jpa.berlios.de/ | http://www.zgodowie.org/

    Comment

    • Wilk

      #3
      Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

      Tom <myata99@tom.co m> writes:
      [color=blue]
      > 1) Portable to Windows, Unix-like platforms, and the Macintosh;
      > 2) Powerful, GUI is very beautiful ;
      > 3) Efficiency of development is high;
      >
      > What's the best, Tkinter, wxPython, QT, GTK or other?[/color]

      html !

      --
      William
      http://wikipython.flibuste.net : wiki francophone sur python

      Comment

      • Maurice LING

        #4
        Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

        Tom wrote:[color=blue]
        > 1) Portable to Windows, Unix-like platforms, and the Macintosh;
        > 2) Powerful, GUI is very beautiful ;
        > 3) Efficiency of development is high;
        >
        > What's the best, Tkinter, wxPython, QT, GTK or other?
        >
        > Thanks!
        >[/color]

        That's almost like asking which way of cooking chicken is the best?
        steam, fried, stew, roast?

        I may offend heaps of people by saying this.... but Tkinter is included
        in the standard package, so it should be given a look, then decide what
        is lacking...

        Maurice

        Comment

        • Andrew Dalke

          #5
          Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

          Maurice LING wrote:[color=blue]
          > That's almost like asking which way of cooking chicken is the best?
          > steam, fried, stew, roast?[/color]

          BBQ'ed of course.

          I believe that fits your point. :)

          Andrew
          dalke@dalkescie ntific.com

          Comment

          • Do Re Mi chel La Si Do

            #6
            Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

            +1


            Michel Claveau



            Comment

            • Dave Cook

              #7
              Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

              On 2005-03-27, Tom <myata99@tom.co m> wrote:
              [color=blue]
              > 1) Portable to Windows, Unix-like platforms, and the Macintosh;
              > 2) Powerful, GUI is very beautiful ;
              > 3) Efficiency of development is high;
              >
              > What's the best, Tkinter, wxPython, QT, GTK or other?[/color]

              Don't forget Swing and SWT via Jython. Of course that brings with it all
              the joys and sorrows of Java.

              GTK on the Mac (OS X) requires installing and running an X server (an X
              server is included on Apple's OS X install discs, but not installed by
              default; it can also be downloaded for free from Apple). This may be enough
              of an annoyance to turn some users off. I've had success with using GTK on
              win32, and it's very standard on Linux systems.

              I'm not sure what the status of QT on OS X is.

              Tkinter still seems viable for things that don't require a lot of complex
              controls. Also, it has a very powerful canvas widget. However, it won't
              look very good on unix systems (no anti-aliasing, for one thing).

              If you don't need a lot of complex controls, you might consider the embedded
              webserver + browser route using CherryPy or Twisted.web + Nevow.

              wxPython seems to have the best cross-platform support among CPython
              toolkits, but it never seemed very Pythonic to me. There's a higher-level
              package called wax that aims to remedy that.

              Dave Cook

              Comment

              • Scott Robinson

                #8
                Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

                On Mon, 28 Mar 2005 10:06:14 GMT, Dave Cook <davecook@nowhe re.net>
                wrote:
                [color=blue]
                >On 2005-03-27, Tom <myata99@tom.co m> wrote:
                >[color=green]
                >> 1) Portable to Windows, Unix-like platforms, and the Macintosh;
                >> 2) Powerful, GUI is very beautiful ;
                >> 3) Efficiency of development is high;
                >>
                >> What's the best, Tkinter, wxPython, QT, GTK or other?[/color]
                >
                >Don't forget Swing and SWT via Jython. Of course that brings with it all
                >the joys and sorrows of Java.
                >
                >GTK on the Mac (OS X) requires installing and running an X server (an X
                >server is included on Apple's OS X install discs, but not installed by
                >default; it can also be downloaded for free from Apple). This may be enough
                >of an annoyance to turn some users off. I've had success with using GTK on
                >win32, and it's very standard on Linux systems.
                >
                >I'm not sure what the status of QT on OS X is.
                >
                >Tkinter still seems viable for things that don't require a lot of complex
                >controls. Also, it has a very powerful canvas widget. However, it won't
                >look very good on unix systems (no anti-aliasing, for one thing).
                >
                >If you don't need a lot of complex controls, you might consider the embedded
                >webserver + browser route using CherryPy or Twisted.web + Nevow.
                >
                >wxPython seems to have the best cross-platform support among CPython
                >toolkits, but it never seemed very Pythonic to me. There's a higher-level
                >package called wax that aims to remedy that.
                >
                >Dave Cook[/color]
                PythonCard builds on wxPython (a subset, I believe) and includes a
                graphic GUI builder. The way it handles the wxPython objects seems
                pretty pythonic to me, but I can't say I build pretty interface with
                it. PythonCard seems to like to stick to basics, but also includes a
                certain ability to get to the rest of wxPython (file/save/message
                dialogs are pretty easy to include).

                Note that my only other experience in building GUIs was with visual
                basic, which seems to have spoiled me. I tried wxPython and Tinker,
                but could only really get PythonCard to work.

                Scott Robinson

                Comment

                • stewart.midwinter@gmail.com

                  #9
                  Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

                  Tom, there's a reason that Tkinter is included with Python - it's
                  probably the most straitforward of the 4 you mentioned. It's dead easy
                  to get running on Win32 and Linux systems (haven't tried on Mac OS, but
                  I hear reports of it being used).

                  I found GTK to be damn near impossible to install on Windows, after
                  numerous attempts. Maybe if you're building shrink-wrap systems you
                  wouldn't have the issue - just provide an executable and a .dll.

                  wxPython, some people say, feels like C++. That may be a pro or a
                  con.

                  As for QT, great on Linux, difficult or expensive to license on
                  Windows. There'll be an open-source version, but that's a year off by
                  the time PyQt 4 is ready.

                  If you haven't worked with any GUI toolkits before, why not start with
                  Tkinter - concepts like callbacks, threads and events, key to making
                  GUI apps work, are transferable between toolkits.

                  cheers
                  S

                  Comment

                  • Cameron Laird

                    #10
                    Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

                    In article <slrnd4flom.5bv .davecook@local host.localdomai n>,
                    Dave Cook <davecook@nowhe re.net> wrote:

                    Comment

                    • Fuzzyman

                      #11
                      Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

                      Undoubtably Wax :-)
                      Easier to learn than TKinter, with none of the limitations (it's built
                      on top of wxPython).

                      See http://zephyfalcon.org
                      I've just started using it and I'm really impressed.

                      Best Regards,

                      Fuzzy


                      Comment

                      • Kent Johnson

                        #12
                        Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

                        Fuzzyman wrote:[color=blue]
                        > Undoubtably Wax :-)
                        > Easier to learn than TKinter, with none of the limitations (it's built
                        > on top of wxPython).
                        >
                        > See http://zephyfalcon.org[/color]

                        http://zephyrfalcon.org/labs/wax.html works better.

                        Kent

                        Comment

                        • Fuzzyman

                          #13
                          Re: What's the best GUI toolkit in Python,Tkinter, wxPython,QT,GTK ?

                          True enough :-)

                          Thanks
                          Fuzzy


                          Comment

                          Working...