See All Titles |
![]() ![]() SummaryThis chapter shows what the available GUI options are for designing Python graphic interfaces. Choosing a toolkit for your GUI projects is not a simple thing. Although you might decide to choose something different, the Python community has already chosen the standard choice for GUI development with Python—it is called Tkinter, and it's part of the standard Python distribution. Besides Tkinter, many other GUI solutions are supported by Python. This chapter exposes many of them. Pythonwin is a wrapper to the MFC. It is included within the Python distribution for Windows. wxPython is a GUI toolkit for the Python programming language that works like a wrapper to the wxWindows C++ library. STDWIN stands for Standard Window Interface. It is a platform-independent interface to C-based window systems. Currently, STDWIN is obsolete and unsupported, without any further development effort being made. PyKDE is a set of Python bindings for the KDE toolkit—the KDE classes, which uses PyQt —a set of straightforward Python bindings for the Qt toolkit. Wpy is a class library system, based on the Microsoft Foundation Classes, that is used for writing GUI code easily in Python. PyGTK is a set of bindings for the GTK widget set and Gnome libraries that runs on any platform that supports GTK. PyOpenGL (Python Tk-OpenGL Module) is the OpenGL-Widget for Python/Tk. OpenGL is the premier environment for developing portable, interactive 2D and 3D graphics applications. Wafe, which stands for Widget Athena front end, is a package that implements a symbolic, string-based interface based on Tcl to the X Toolkit, the Athena Widget Set. pyFLTK is the Python wrapper for the Fast Light Tool Kit graphical user interface library. FLTK is a C++ graphical user interface toolkit for X (UNIX), OpenGL, and WIN32 platforms—it is also largely compatible with the XForms library. FXPy is a Python extension module, which provides an interface to the FOX GUI library. FOX is a C++ based toolkit for developing Graphical User Interfaces easily and effectively that runs on UNIX and Windows. It offers a wide collection of Controls, including support to drag and drop, selection, as well as OpenGL widgets for 3D graphical manipulation. Motif is the market leader among UNIX GUI toolkits, and Python X Extension bounds it to Python. PyAmulet is another Python GUI. It wraps an underlying C library, called OpenAmulet. DynWin is a dynamic GUI class library for Win32 and Python. The Java Python Interface (JPI) is an interface that allows Java and Python (the C Implementation, not JPython) to primitively work together. The Abstract Windowing Toolkit (AWT) is a user interface toolkit provided by the Java programming language class library. FORMS is a module for the SGI IRIX platform that provides an interface to the FORMS Library. As you could see, the number of options is large. It is your choice to decide which one best fits your needs.
|
Index terms contained in this sectiongraphical user interfaces (GUIs)toolkits interfaces graphical user (GUI) toolkits toolkits graphical user interfaces (GUIs) |
© 2002, O'Reilly & Associates, Inc. |