User Tools

Site Tools


misc:gui_frameworks_for_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
misc:gui_frameworks_for_linux [2017/05/12 06:04] – [Tkinter] mithatmisc:gui_frameworks_for_linux [2017/05/29 19:28] (current) – [wxPython (including Phoenix)] mithat
Line 4: Line 4:
  
 ==== Tkinter ==== ==== Tkinter ====
 +
 +**TL;DR**: Perhaps OK for small, one-file utility apps
 +
 Pros Pros
   * Comes out of the box with Python.   * Comes out of the box with Python.
  
 Cons Cons
-  * Look and feel are a real buzzkill on Linux, possibly also on other platforms---even with themed widgets. +  * Look and feel are a real buzzkill on Linux, possibly also on other platforms---even with themed widgets. The ugliness of menus is pretty much a deal killer
-    * The ugliness of menus is pretty much a deal killer+
   * No standard GUI builder, though a few 3rd party ones exist.   * No standard GUI builder, though a few 3rd party ones exist.
  
-Sample code 
 <file python tkdemo.py> <file python tkdemo.py>
 from tkinter import * from tkinter import *
Line 60: Line 61:
 root.mainloop() root.mainloop()
 </file> </file>
- 
-Thoughts 
-  * Perhaps ok for small, one-file utility apps. 
  
 ==== PyGObject ==== ==== PyGObject ====
 +
 +**TL;DR**: Perhaps best option for Linux-centric apps---unless/until some GNOME goofiness happens.
 +
 Replacing PyGTK. Replacing PyGTK.
  
 Pros Pros
 +  * Workflow (UI layout to code) is pleasant.
   * First-class Linux framework.   * First-class Linux framework.
   * LGPL   * LGPL
Line 83: Line 85:
   * Poor support on other operating systems.   * Poor support on other operating systems.
   * GTK3 is the future and it is built for GNOME. For other desktop environments, who knows how well it will work and what will be supported. Will a ton of GNOME dependencies eventually be required?   * GTK3 is the future and it is built for GNOME. For other desktop environments, who knows how well it will work and what will be supported. Will a ton of GNOME dependencies eventually be required?
- 
-  
-Thoughts 
-  * Workflow (UI layout to code) is pleasant. 
-  * Perhaps best option for Linux-centric apps---unless/until some GNOME heaviness/goofiness happens. 
      
-==== PyQt ===+==== wxPython (including Phoenix)=== 
-Pros +**TL;DR**: Perhaps best option for multi-platform proprietary apps that have zero budget.
-  First class Linux framework. +
-  Excellent multiplatform support (except maybe non-GNOME GTK). +
-  Lots of components (including "we do it differently" DBUS, etc.) +
-  Used by Spyder and a lot of others.+
  
-Cons: 
-  * GPL-only or commercial license is at ~$500. (PySide is LGPL, but there has been little development.) 
-  * Qt code can be heavy, somewhat verbose. 
-  * Possibly PITA to install if not using distro repos (which you want because it moves so fast).((on Debian, ''qttools5-dev-tools'' will get standalone Qt Designer and other stuff.))  
- 
-Thoughts 
-  * Perhaps best option for multi-platform FOSS apps and for proprietary apps that have a $500 tools budget. 
- 
-==== wxPython (Phoenix)=== 
 Pros Pros
   * Liberal license.   * Liberal license.
Line 126: Line 110:
   * Events: self.Bind(//event-type//, //handler//, //emitting-object//)   * Events: self.Bind(//event-type//, //handler//, //emitting-object//)
  
-Thoughts +==== PyQt ==== 
-  * Perhaps best option for multi-platform proprietary apps that have zero budget.+ 
 +**TL;DR**: Perhaps best option for multi-platform FOSS apps and for proprietary apps that have a $500 tools budget
 + 
 +Pros 
 +  * First class Linux framework. 
 +  * Excellent multiplatform support (except maybe non-GNOME GTK). 
 +  * Lots of components (including "we do it differently" DBUS, etc.) 
 +  * Used by Spyder and a lot of others. 
 + 
 +Cons: 
 +  * GPL-only or commercial license is at ~$500. (PySide is LGPL, but there has been little development.) 
 +  * Qt code can be heavy, somewhat verbose. 
 +  * Possibly PITA to install if not using distro repos (which you want because it moves so fast).((on Debian, ''qttools5-dev-tools'' will get standalone Qt Designer and other stuff.))  
 + 
 +==== PySide ==== 
 + 
 +**TL;DR**: Abandonware? If not now, later? 
 + 
 +Classic PySide was released in 2015 and works with Qt 4.8 framework. PySide2, which supports Qt5, is being developed, but it's not production ready, seems to be moving slowly, and doesn't seem to have much mindshare.
  
 ==== Kivy ==== ==== Kivy ====
-Interesting, but not really a desktop application framework. Good for touch interfaces.+**TL;DR**: Not really a desktop application framework. Well-suited to touch interfaces.
  
 Pros Pros
misc/gui_frameworks_for_linux.1494569099.txt.gz · Last modified: 2017/05/12 06:04 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki