25.6.Other Graphical User Interface Packages¶
Major cross-platform (Windows, Mac OS X, Unix-like) GUI toolkits areavailable for Python:
See also
- PyGObject
PyGObject provides introspection bindings for C libraries usingGObject. One ofthese libraries is theGTK+ 3 widget set.GTK+ comes with many more widgets than Tkinter provides. An onlinePython GTK+ 3 Tutorialis available.
- PyGTK
PyGTK provides bindings for an older versionof the library, GTK+ 2. It provides an object oriented interface thatis slightly higher level than the C one. There are also bindings toGNOME. An onlinetutorial is available.
- PyQt
PyQt is asip-wrapped binding to the Qt toolkit. Qt is anextensive C++ GUI application development framework that isavailable for Unix, Windows and Mac OS X.sip is a toolfor generating bindings for C++ libraries as Python classes, andis specifically designed for Python.
- PySide
PySide is a newer binding to the Qt toolkit, provided by Nokia.Compared to PyQt, its licensing scheme is friendlier to non-open sourceapplications.
- wxPython
wxPython is a cross-platform GUI toolkit for Python that is built aroundthe popularwxWidgets (formerly wxWindows)C++ toolkit. It provides a native look and feel for applications onWindows, Mac OS X, and Unix systems by using each platform’s nativewidgets where ever possible, (GTK+ on Unix-like systems). In addition toan extensive set of widgets, wxPython provides classes for onlinedocumentation and context sensitive help, printing, HTML viewing,low-level device context drawing, drag and drop, system clipboard access,an XML-based resource format and more, including an ever growing libraryof user-contributed modules.
PyGTK, PyQt, and wxPython, all have a modern look and feel and morewidgets than Tkinter. In addition, there are many other GUI toolkits forPython, both cross-platform, and platform-specific. See theGUI Programming page in the Python Wiki for amuch more complete list, and also for links to documents where thedifferent GUI toolkits are compared.
