blob: 28b57717648fac87a62364b805b939276ecb8885 [file] [log] [blame]
Georg Brandl8ec7f652007-08-15 14:28:01 +00001.. _other-gui-packages:
2
3Other Graphical User Interface Packages
4=======================================
5
Antoine Pitrou22da68b2011-12-04 23:56:30 +01006Major cross-platform (Windows, Mac OS X, Unix-like) GUI toolkits are
7available for Python:
Georg Brandl8ec7f652007-08-15 14:28:01 +00008
Georg Brandl8ec7f652007-08-15 14:28:01 +00009.. seealso::
10
11 `PyGTK <http://www.pygtk.org/>`_
12 is a set of bindings for the `GTK <http://www.gtk.org/>`_ widget set. It
Georg Brandl02677812008-03-15 00:20:19 +000013 provides an object oriented interface that is slightly higher level than
14 the C one. It comes with many more widgets than Tkinter provides, and has
15 good Python-specific reference documentation. There are also bindings to
16 `GNOME <http://www.gnome.org>`_. One well known PyGTK application is
Georg Brandl5c80cc42013-10-06 12:46:13 +020017 `WingIDE <http://wingide.com/>`_. An online `tutorial
Georg Brandl02677812008-03-15 00:20:19 +000018 <http://www.pygtk.org/pygtk2tutorial/index.html>`_ is available.
Georg Brandl8ec7f652007-08-15 14:28:01 +000019
Georg Brandla4314c22009-10-11 20:16:16 +000020 `PyQt <http://www.riverbankcomputing.co.uk/software/pyqt/>`_
Georg Brandl8ec7f652007-08-15 14:28:01 +000021 PyQt is a :program:`sip`\ -wrapped binding to the Qt toolkit. Qt is an
22 extensive C++ GUI application development framework that is
23 available for Unix, Windows and Mac OS X. :program:`sip` is a tool
24 for generating bindings for C++ libraries as Python classes, and
25 is specifically designed for Python. The *PyQt3* bindings have a
26 book, `GUI Programming with Python: QT Edition
27 <http://www.commandprompt.com/community/pyqt/>`_ by Boudewijn
28 Rempt. The *PyQt4* bindings also have a book, `Rapid GUI Programming
29 with Python and Qt <http://www.qtrac.eu/pyqtbook.html>`_, by Mark
30 Summerfield.
31
32 `wxPython <http://www.wxpython.org>`_
33 wxPython is a cross-platform GUI toolkit for Python that is built around
34 the popular `wxWidgets <http://www.wxwidgets.org/>`_ (formerly wxWindows)
Georg Brandl1bd51e32007-12-16 16:00:36 +000035 C++ toolkit. It provides a native look and feel for applications on
Georg Brandl8ec7f652007-08-15 14:28:01 +000036 Windows, Mac OS X, and Unix systems by using each platform's native
Georg Brandl1bd51e32007-12-16 16:00:36 +000037 widgets where ever possible, (GTK+ on Unix-like systems). In addition to
Georg Brandl8ec7f652007-08-15 14:28:01 +000038 an extensive set of widgets, wxPython provides classes for online
39 documentation and context sensitive help, printing, HTML viewing,
40 low-level device context drawing, drag and drop, system clipboard access,
41 an XML-based resource format and more, including an ever growing library
Georg Brandl1bd51e32007-12-16 16:00:36 +000042 of user-contributed modules. wxPython has a book, `wxPython in Action
Georg Brandl8ec7f652007-08-15 14:28:01 +000043 <http://www.amazon.com/exec/obidos/ASIN/1932394621>`_, by Noel Rappin and
44 Robin Dunn.
45
Georg Brandlae98f502008-05-11 14:56:04 +000046PyGTK, PyQt, and wxPython, all have a modern look and feel and more
Georg Brandlc62ef8b2009-01-03 20:55:06 +000047widgets than Tkinter. In addition, there are many other GUI toolkits for
Georg Brandlae98f502008-05-11 14:56:04 +000048Python, both cross-platform, and platform-specific. See the `GUI Programming
Georg Brandl8ec7f652007-08-15 14:28:01 +000049<http://wiki.python.org/moin/GuiProgramming>`_ page in the Python Wiki for a
50much more complete list, and also for links to documents where the
51different GUI toolkits are compared.
52