<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <link rel="STYLESHEET" href="lib.css" type='text/css' /> <link rel="SHORTCUT ICON" href="../icons/pyfav.gif" /> <link rel='start' href='../index.html' title='Python Documentation Index' /> <link rel="first" href="lib.html" title='Python Library Reference' /> <link rel='contents' href='contents.html' title="Contents" /> <link rel='index' href='genindex.html' title='Index' /> <link rel='last' href='about.html' title='About this document...' /> <link rel='help' href='about.html' title='About this document...' /> <LINK rel="prev" href="idle.html"> <LINK rel="parent" href="tkinter.html"> <LINK rel="next" href="restricted.html"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name='aesop' content='information' /> <META name="description" content="Other Graphical User Interface Packages "> <META name="keywords" content="lib"> <META name="resource-type" content="document"> <META name="distribution" content="global"> <title>16.6 Other Graphical User Interface Packages </title> </head> <body> <DIV CLASS="navigation"> <div id='top-navigation-panel'> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td class='online-navigation'><a rel="prev" title="16.5.3.1 Command line usage" href="node672.html"><img src='../icons/previous.png' border='0' height='32' alt='Previous Page' width='32' /></A></td> <td class='online-navigation'><a rel="parent" title="16. Graphical User Interfaces" href="tkinter.html"><img src='../icons/up.png' border='0' height='32' alt='Up One Level' width='32' /></A></td> <td class='online-navigation'><a rel="next" title="17. Restricted Execution" href="restricted.html"><img src='../icons/next.png' border='0' height='32' alt='Next Page' width='32' /></A></td> <td align="center" width="100%">Python Library Reference</td> <td class='online-navigation'><a rel="contents" title="Table of Contents" href="contents.html"><img src='../icons/contents.png' border='0' height='32' alt='Contents' width='32' /></A></td> <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' border='0' height='32' alt='Module Index' width='32' /></a></td> <td class='online-navigation'><a rel="index" title="Index" href="genindex.html"><img src='../icons/index.png' border='0' height='32' alt='Index' width='32' /></A></td> </tr></table> <div class='online-navigation'> <b class="navlabel">Previous:</b> <a class="sectref" rel="prev" href="node672.html">16.5.3.1 Command line usage</A> <b class="navlabel">Up:</b> <a class="sectref" rel="parent" href="tkinter.html">16. Graphical User Interfaces</A> <b class="navlabel">Next:</b> <a class="sectref" rel="next" href="restricted.html">17. Restricted Execution</A> </div> <hr /></div> </DIV> <!--End of Navigation Panel--> <H1><A NAME="SECTION0018600000000000000000"><!--x--></A><A NAME="other-gui-packages"><!--z--></A> <BR> 16.6 Other Graphical User Interface Packages </H1> <P> There are an number of extension widget sets to <tt class="module"><a href="module-Tkinter.html">Tkinter</a></tt>. <P> <div class="seealso-simple"> <dl compact class="seetitle"> <dt><em class="citetitle"><a href="http://pmw.sourceforge.net/" >Python megawidgets</a></em></dt> <dd>is a toolkit for building high-level compound widgets in Python using the <tt class="module"><a href="module-Tkinter.html">Tkinter</a></tt> module. It consists of a set of base classes and a library of flexible and extensible megawidgets built on this foundation. These megawidgets include notebooks, comboboxes, selection widgets, paned widgets, scrolled widgets, dialog windows, etc. Also, with the Pmw.Blt interface to BLT, the busy, graph, stripchart, tabset and vector commands are be available. <P> The initial ideas for Pmw were taken from the Tk <code>itcl</code> extensions <code>[incr Tk]</code> by Michael McLennan and <code>[incr Widgets]</code> by Mark Ulferts. Several of the megawidgets are direct translations from the itcl to Python. It offers most of the range of widgets that <code>[incr Widgets]</code> does, and is almost as complete as Tix, lacking however Tix's fast <tt class="class">HList</tt> widget for drawing trees. </dd> </dl> <P> <dl compact class="seetitle"> <dt><em class="citetitle"><a href="http://tkinter.effbot.org/" >Tkinter3000 Widget Construction Kit (WCK)</a></em></dt> <dd>is a library that allows you to write new Tkinter widgets in pure Python. The WCK framework gives you full control over widget creation, configuration, screen appearance, and event handling. WCK widgets can be very fast and light-weight, since they can operate directly on Python data structures, without having to transfer data through the Tk/Tcl layer.</dd> </dl> </div> <P> Tk is not the only GUI for Python, but is however the most commonly used one. <P> <div class="seealso-simple"> <dl compact class="seetitle"> <dt><em class="citetitle"><a href="http://www.wxwindows.org" >wxWindows</a></em></dt> <dd> is a GUI toolkit that combines the most attractive attributes of Qt, Tk, Motif, and GTK+ in one powerful and efficient package. It is implemented in C++. wxWindows supports two flavors of <font style="font-variant: small-caps;">Unix</font> implementation: GTK+ and Motif, and under Windows, it has a standard Microsoft Foundation Classes (MFC) appearance, because it uses Win32 widgets. There is a Python class wrapper, independent of Tkinter. <P> wxWindows is much richer in widgets than <tt class="module"><a href="module-Tkinter.html">Tkinter</a></tt>, with its help system, sophisticated HTML and image viewers, and other specialized widgets, extensive documentation, and printing capabilities. </dd> </dl> <dl compact class="seetitle"> <dt><em class="citetitle" >PyQt</em></dt> <dd> PyQt is a <b class="program">sip</b>-wrapped binding to the Qt toolkit. Qt is an extensive C++ GUI toolkit that is available for <font style="font-variant: small-caps;">Unix</font>, Windows and Mac OS X. <b class="program">sip</b> is a tool for generating bindings for C++ libraries as Python classes, and is specifically designed for Python. An online manual is available at <a class="url" href="http://www.opendocspublishing.com/pyqt/">http://www.opendocspublishing.com/pyqt/</a> (errata are located at <a class="url" href="http://www.valdyas.org/python/book.html">http://www.valdyas.org/python/book.html</a>). </dd> </dl> <dl compact class="seetitle"> <dt><em class="citetitle"><a href="http://www.riverbankcomputing.co.uk/pykde/index.php" >PyKDE</a></em></dt> <dd> PyKDE is a <b class="program">sip</b>-wrapped interface to the KDE desktop libraries. KDE is a desktop environment for <font style="font-variant: small-caps;">Unix</font> computers; the graphical components are based on Qt. </dd> </dl> <dl compact class="seetitle"> <dt><em class="citetitle"><a href="http://fxpy.sourceforge.net/" >FXPy</a></em></dt> <dd> is a Python extension module which provides an interface to the <em class="citetitle"><a href="http://www.cfdrc.com/FOX/fox.html" title="FOX" >FOX</a></em> GUI. FOX is a C++ based Toolkit for developing Graphical User Interfaces easily and effectively. It offers a wide, and growing, collection of Controls, and provides state of the art facilities such as drag and drop, selection, as well as OpenGL widgets for 3D graphical manipulation. FOX also implements icons, images, and user-convenience features such as status line help, and tooltips. <P> Even though FOX offers a large collection of controls already, FOX leverages C++ to allow programmers to easily build additional Controls and GUI elements, simply by taking existing controls, and creating a derived class which simply adds or redefines the desired behavior. </dd> </dl> <dl compact class="seetitle"> <dt><em class="citetitle"><a href="http://www.daa.com.au/~james/software/pygtk/" >PyGTK</a></em></dt> <dd> is a set of bindings for the <a class="ulink" href="http://www.gtk.org/" >GTK</a> widget set. It provides an object oriented interface that is slightly higher level than the C one. It automatically does all the type casting and reference counting that you would have to do normally with the C API. There are also <a class="ulink" href="http://www.daa.com.au/~james/gnome/" >bindings</a> to <a class="ulink" href="http://www.gnome.org" >GNOME</a>, and a <a class="ulink" href="http://laguna.fmedic.unam.mx/~daniel/pygtutorial/pygtutorial/index.html" >tutorial</a> is available. </dd> </dl> </div> <P> <DIV CLASS="navigation"> <div class='online-navigation'><hr /> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td class='online-navigation'><a rel="prev" title="16.5.3.1 Command line usage" rel="prev" title="16.5.3.1 Command line usage" href="node672.html"><img src='../icons/previous.png' border='0' height='32' alt='Previous Page' width='32' /></A></td> <td class='online-navigation'><a rel="parent" title="16. Graphical User Interfaces" rel="parent" title="16. Graphical User Interfaces" href="tkinter.html"><img src='../icons/up.png' border='0' height='32' alt='Up One Level' width='32' /></A></td> <td class='online-navigation'><a rel="next" title="17. Restricted Execution" rel="next" title="17. Restricted Execution" href="restricted.html"><img src='../icons/next.png' border='0' height='32' alt='Next Page' width='32' /></A></td> <td align="center" width="100%">Python Library Reference</td> <td class='online-navigation'><a rel="contents" title="Table of Contents" rel="contents" title="Table of Contents" href="contents.html"><img src='../icons/contents.png' border='0' height='32' alt='Contents' width='32' /></A></td> <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' border='0' height='32' alt='Module Index' width='32' /></a></td> <td class='online-navigation'><a rel="index" title="Index" rel="index" title="Index" href="genindex.html"><img src='../icons/index.png' border='0' height='32' alt='Index' width='32' /></A></td> </tr></table> <div class='online-navigation'> <b class="navlabel">Previous:</b> <a class="sectref" rel="prev" href="node672.html">16.5.3.1 Command line usage</A> <b class="navlabel">Up:</b> <a class="sectref" rel="parent" href="tkinter.html">16. Graphical User Interfaces</A> <b class="navlabel">Next:</b> <a class="sectref" rel="next" href="restricted.html">17. Restricted Execution</A> </div> </div> <hr /> <span class="release-info">Release 2.3.4, documentation updated on May 20, 2004.</span> </DIV> <!--End of Navigation Panel--> <ADDRESS> See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. </ADDRESS> </BODY> </HTML>