Debian Codegraph @

cpython27/Doc/library/othergui.rst

raw
1 .. _other-gui-packages:
2
3 Other Graphical User Interface Packages
4 =======================================
5
6 Major cross-platform (Windows, Mac OS X, Unix-like) GUI toolkits are
7 available for Python:
8
9 .. seealso::
10
11 `PyGTK <http://www.pygtk.org/>`_
12 is a set of bindings for the `GTK <http://www.gtk.org/>`_ widget set. It
13 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 <https://www.gnome.org/>`_. An online `tutorial
17 <http://www.pygtk.org/pygtk2tutorial/index.html>`_ is available.
18
19 `PyQt <https://riverbankcomputing.com/software/pyqt/intro>`_
20 PyQt is a :program:`sip`\ -wrapped binding to the Qt toolkit. Qt is an
21 extensive C++ GUI application development framework that is
22 available for Unix, Windows and Mac OS X. :program:`sip` is a tool
23 for generating bindings for C++ libraries as Python classes, and
24 is specifically designed for Python. The *PyQt3* bindings have a
25 book, `GUI Programming with Python: QT Edition
26 <https://www.commandprompt.com/community/pyqt/>`_ by Boudewijn
27 Rempt. The *PyQt4* bindings also have a book, `Rapid GUI Programming
28 with Python and Qt <https://www.qtrac.eu/pyqtbook.html>`_, by Mark
29 Summerfield.
30
31 `wxPython <http://www.wxpython.org>`_
32 wxPython is a cross-platform GUI toolkit for Python that is built around
33 the popular `wxWidgets <https://www.wxwidgets.org/>`_ (formerly wxWindows)
34 C++ toolkit. It provides a native look and feel for applications on
35 Windows, Mac OS X, and Unix systems by using each platform's native
36 widgets where ever possible, (GTK+ on Unix-like systems). In addition to
37 an extensive set of widgets, wxPython provides classes for online
38 documentation and context sensitive help, printing, HTML viewing,
39 low-level device context drawing, drag and drop, system clipboard access,
40 an XML-based resource format and more, including an ever growing library
41 of user-contributed modules. wxPython has a book, `wxPython in Action
42 <https://www.manning.com/books/wxpython-in-action>`_, by Noel Rappin and
43 Robin Dunn.
44
45 PyGTK, PyQt, and wxPython, all have a modern look and feel and more
46 widgets than Tkinter. In addition, there are many other GUI toolkits for
47 Python, both cross-platform, and platform-specific. See the `GUI Programming
48 <https://wiki.python.org/moin/GuiProgramming>`_ page in the Python Wiki for a
49 much more complete list, and also for links to documents where the
50 different GUI toolkits are compared.
51