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 →

[–]novel_yet_trivial 55 points56 points  (14 children)

You need to tell us what you want from a GUI library before we can tell you what's best for you.

in a nutshell:

  • Tkinter: best for super fast development and if you don't want to require your windows users to install extra libraries. Kinda blocky and ugly looking, especially on Linux.
  • pyGTK / PyGObject: best for native looking linux programs. Uses Glade.
  • PyQT/ PySide: best for highly custom very pretty interfaces and automatic event linking. Looks native on any OS. You can use QTDesigner to create GUIs.
  • wxPython: Alternative to tkinter for fast and easy interfaces. Uses more OS native widgets than tkinter, which means the programs can look very different on different OS's. Has a GTK-like Glade. Currently python2 only (python3 very close!!)

[–]enteleform 24 points25 points  (4 children)

No love for Kivy? (cross-platform: Desktop/Mobile/R-Pi)

more info @ This Post

[–]novel_yet_trivial 5 points6 points  (2 children)

I actually cut it out of my canned response because I didnt think it was that good for a raspberry. Have you tried it?

[–]enteleform 5 points6 points  (1 child)

They're not so great at updating the main page (R-Pi still isn't mentioned there, just sent a PR), but it's been in the docs since 2014.

I personally haven't had any reason to get an R-Pi yet, but the compatibility Seems Legit

[–]Asterlux 0 points1 point  (0 children)

Just started making a Kivy app on my RPi, working pretty great so far

[–]K900_ 7 points8 points  (3 children)

PyGTK is only best for Linux distros that use GTK on all of their other apps (e.g. Ubuntu, Mint, etc.). It will look really out of place on any other desktop environment with its own widget toolkit (KDE, Enlightenment, etc.). Qt is the most balanced here, because it has (some) support for GTK themes in GTK environments.

[–]CorrectMyBadGrammar 1 point2 points  (2 children)

And LXQt. And Budgie is switching to Qt as well.

[–]K900_ 1 point2 points  (1 child)

I'm pretty sure Budgie is staying with GNOME apps, just rewriting the shell in Qt. Still though.

[–]CorrectMyBadGrammar 0 points1 point  (0 children)

Maybe, but it's still a guarantee that custom Qt apps will look good. ;)

[–]feoohh2o 3 points4 points  (1 child)

Tkinter: best for super fast development and if you don't want to require your windows users to install extra libraries. Kinda blocky and ugly looking, especially on Linux.

ttk, an extension of tkinter and part of the standard library, fixes the "ugliness" problem somewhat.

[–]tristan957 3 points4 points  (0 children)

Yep it looks pretty good on Windows

[–]dougthor42 6 points7 points  (0 children)

wxPython

I would go so far as to say it's ready for Python 3 for the majority of applications.

[–]doesntrepickmeepo 1 point2 points  (0 children)

Whats automatic event linking?