diff options
Diffstat (limited to 'Doc/faq/gui.rst')
-rw-r--r-- | Doc/faq/gui.rst | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/Doc/faq/gui.rst b/Doc/faq/gui.rst index e218896..fd6ca0c 100644 --- a/Doc/faq/gui.rst +++ b/Doc/faq/gui.rst @@ -13,14 +13,14 @@ General GUI Questions ===================== What platform-independent GUI toolkits exist for Python? --------------------------------------------------------- +======================================================== Depending on what platform(s) you are aiming at, there are several. .. XXX check links Tkinter -''''''' +------- Standard builds of Python include an object-oriented interface to the Tcl/Tk widget set, called Tkinter. This is probably the easiest to install and use. @@ -29,22 +29,27 @@ page at http://www.tcl.tk. Tcl/Tk is fully portable to the MacOS, Windows, and Unix platforms. wxWidgets -''''''''' +--------- -wxWidgets is a GUI class library written in C++ that's a portable -interface to various platform-specific libraries, and that has a -Python interface called `wxPython <http://www.wxpython.org>`__. +wxWidgets (http://www.wxwidgets.org) is a free, portable GUI class +library written in C++ that provides a native look and feel on a +number of platforms, with Windows, MacOS X, GTK, X11, all listed as +current stable targets. Language bindings are available for a number +of languages including Python, Perl, Ruby, etc. -wxWidgets preserves the look and feel of the -underlying graphics toolkit, and has a large set of widgets and -collection of GDI classes. See `the wxWidgets page -<http://www.wxwidgets.org>`_ for more details. +wxPython (http://www.wxpython.org) is the Python binding for +wxwidgets. While it often lags slightly behind the official wxWidgets +releases, it also offers a number of features via pure Python +extensions that are not available in other language bindings. There +is an active wxPython user and developer community. + +Both wxWidgets and wxPython are free, open source, software with +permissive licences that allow their use in commercial products as +well as in freeware or shareware. -wxWidgets supports Windows and MacOS; on Unix variants, -it supports both GTk+ and Motif toolkits. Qt -''' +--- There are bindings available for the Qt toolkit (`PyQt <http://www.riverbankcomputing.co.uk/software/pyqt/>`_) and for KDE (`PyKDE <http://www.riverbankcomputing.co.uk/software/pykde/intro>`__). If @@ -55,13 +60,13 @@ Qt 4.5 upwards is licensed under the LGPL license) a Qt license from `Trolltech <http://www.trolltech.com>`_. Gtk+ -'''' +---- PyGtk bindings for the `Gtk+ toolkit <http://www.gtk.org>`_ have been implemented by James Henstridge; see <http://www.pygtk.org>. FLTK -'''' +---- Python bindings for `the FLTK toolkit <http://www.fltk.org>`_, a simple yet powerful and mature cross-platform windowing system, are available from `the @@ -69,7 +74,7 @@ PyFLTK project <http://pyfltk.sourceforge.net>`_. FOX -''' +---- A wrapper for `the FOX toolkit <http://www.fox-toolkit.org/>`_ called `FXpy <http://fxpy.sourceforge.net/>`_ is available. FOX supports both Unix variants @@ -77,13 +82,13 @@ and Windows. OpenGL -'''''' +------ For OpenGL bindings, see `PyOpenGL <http://pyopengl.sourceforge.net>`_. What platform-specific GUI toolkits exist for Python? ------------------------------------------------------ +======================================================== `The Mac port <http://python.org/download/mac>`_ by Jack Jansen has a rich and ever-growing set of modules that support the native Mac toolbox calls. The port |