Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / amd64 / html / python / lib / other-gui-packages.html
CommitLineData
920dae64
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="lib.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="lib.html" title='Python Library Reference' />
8<link rel='contents' href='contents.html' title="Contents" />
9<link rel='index' href='genindex.html' title='Index' />
10<link rel='last' href='about.html' title='About this document...' />
11<link rel='help' href='about.html' title='About this document...' />
12<link rel="prev" href="idle.html" />
13<link rel="parent" href="tkinter.html" />
14<link rel="next" href="restricted.html" />
15<meta name='aesop' content='information' />
16<title>16.6 Other Graphical User Interface Packages </title>
17</head>
18<body>
19<DIV CLASS="navigation">
20<div id='top-navigation-panel' xml:id='top-navigation-panel'>
21<table align="center" width="100%" cellpadding="0" cellspacing="2">
22<tr>
23<td class='online-navigation'><a rel="prev" title="16.5.3.1 Command line usage"
24 href="node757.html"><img src='../icons/previous.png'
25 border='0' height='32' alt='Previous Page' width='32' /></A></td>
26<td class='online-navigation'><a rel="parent" title="16. Graphical User Interfaces"
27 href="tkinter.html"><img src='../icons/up.png'
28 border='0' height='32' alt='Up One Level' width='32' /></A></td>
29<td class='online-navigation'><a rel="next" title="17. Restricted Execution"
30 href="restricted.html"><img src='../icons/next.png'
31 border='0' height='32' alt='Next Page' width='32' /></A></td>
32<td align="center" width="100%">Python Library Reference</td>
33<td class='online-navigation'><a rel="contents" title="Table of Contents"
34 href="contents.html"><img src='../icons/contents.png'
35 border='0' height='32' alt='Contents' width='32' /></A></td>
36<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
37 border='0' height='32' alt='Module Index' width='32' /></a></td>
38<td class='online-navigation'><a rel="index" title="Index"
39 href="genindex.html"><img src='../icons/index.png'
40 border='0' height='32' alt='Index' width='32' /></A></td>
41</tr></table>
42<div class='online-navigation'>
43<b class="navlabel">Previous:</b>
44<a class="sectref" rel="prev" href="node757.html">16.5.3.1 Command line usage</A>
45<b class="navlabel">Up:</b>
46<a class="sectref" rel="parent" href="tkinter.html">16. Graphical User Interfaces</A>
47<b class="navlabel">Next:</b>
48<a class="sectref" rel="next" href="restricted.html">17. Restricted Execution</A>
49</div>
50<hr /></div>
51</DIV>
52<!--End of Navigation Panel-->
53
54<H1><A NAME="SECTION0018600000000000000000"></A><A NAME="other-gui-packages"></A>
55<BR>
5616.6 Other Graphical User Interface Packages
57
58</H1>
59
60<P>
61There are an number of extension widget sets to <tt class="module"><a href="module-Tkinter.html">Tkinter</a></tt>.
62
63<P>
64<div class="seealso-simple">
65
66<dl compact="compact" class="seetitle">
67 <dt><em class="citetitle"><a href="http://pmw.sourceforge.net/"
68 >Python megawidgets</a></em></dt>
69 <dd>is a
70toolkit for building high-level compound widgets in Python using the
71<tt class="module"><a href="module-Tkinter.html">Tkinter</a></tt> module. It consists of a set of base classes and
72a library of flexible and extensible megawidgets built on this
73foundation. These megawidgets include notebooks, comboboxes, selection
74widgets, paned widgets, scrolled widgets, dialog windows, etc. Also,
75with the Pmw.Blt interface to BLT, the busy, graph, stripchart, tabset
76and vector commands are be available.
77
78<P>
79The initial ideas for Pmw were taken from the Tk <code>itcl</code>
80extensions <code>[incr Tk]</code> by Michael McLennan and <code>[incr
81Widgets]</code> by Mark Ulferts. Several of the megawidgets are direct
82translations from the itcl to Python. It offers most of the range of
83widgets that <code>[incr Widgets]</code> does, and is almost as complete as
84Tix, lacking however Tix's fast <tt class="class">HList</tt> widget for drawing trees.
85</dd>
86 </dl>
87
88<P>
89<dl compact="compact" class="seetitle">
90 <dt><em class="citetitle"><a href="http://tkinter.effbot.org/"
91 >Tkinter3000 Widget Construction
92 Kit (WCK)</a></em></dt>
93 <dd>is a library that allows you to write new Tkinter widgets in pure
94Python. The WCK framework gives you full control over widget
95creation, configuration, screen appearance, and event handling. WCK
96widgets can be very fast and light-weight, since they can operate
97directly on Python data structures, without having to transfer data
98through the Tk/Tcl layer.</dd>
99 </dl>
100</div>
101
102<P>
103Tk is not the only GUI for Python, but is however the
104most commonly used one.
105
106<P>
107<div class="seealso-simple">
108
109<dl compact="compact" class="seetitle">
110 <dt><em class="citetitle"><a href="http://www.wxwindows.org"
111 >wxWindows</a></em></dt>
112 <dd>
113is a GUI toolkit that combines the most attractive attributes of Qt,
114Tk, Motif, and GTK+ in one powerful and efficient package. It is
115implemented in C++. wxWindows supports two flavors of <span class="Unix">Unix</span>
116implementation: GTK+ and Motif, and under Windows, it has a standard
117Microsoft Foundation Classes (MFC) appearance, because it uses Win32
118widgets. There is a Python class wrapper, independent of Tkinter.
119
120<P>
121wxWindows is much richer in widgets than <tt class="module"><a href="module-Tkinter.html">Tkinter</a></tt>, with its
122help system, sophisticated HTML and image viewers, and other
123specialized widgets, extensive documentation, and printing capabilities.
124</dd>
125 </dl>
126<dl compact="compact" class="seetitle">
127 <dt><em class="citetitle"
128 >PyQt</em></dt>
129 <dd>
130PyQt is a <b class="program">sip</b>-wrapped binding to the Qt toolkit. Qt is an
131extensive C++ GUI toolkit that is available for <span class="Unix">Unix</span>, Windows and
132Mac OS X. <b class="program">sip</b> is a tool for generating bindings for C++
133libraries as Python classes, and is specifically designed for Python.
134An online manual is available at
135<a class="url" href="http://www.opendocspublishing.com/pyqt/">http://www.opendocspublishing.com/pyqt/</a> (errata are located at
136<a class="url" href="http://www.valdyas.org/python/book.html">http://www.valdyas.org/python/book.html</a>).
137</dd>
138 </dl>
139<dl compact="compact" class="seetitle">
140 <dt><em class="citetitle"><a href="http://www.riverbankcomputing.co.uk/pykde/index.php"
141 >PyKDE</a></em></dt>
142 <dd>
143PyKDE is a <b class="program">sip</b>-wrapped interface to the KDE desktop
144libraries. KDE is a desktop environment for <span class="Unix">Unix</span> computers; the
145graphical components are based on Qt.
146</dd>
147 </dl>
148<dl compact="compact" class="seetitle">
149 <dt><em class="citetitle"><a href="http://fxpy.sourceforge.net/"
150 >FXPy</a></em></dt>
151 <dd>
152is a Python extension module which provides an interface to the
153<em class="citetitle"><a
154 href="http://www.cfdrc.com/FOX/fox.html"
155 title="FOX"
156 >FOX</a></em> GUI.
157FOX is a C++ based Toolkit for developing Graphical User Interfaces
158easily and effectively. It offers a wide, and growing, collection of
159Controls, and provides state of the art facilities such as drag and
160drop, selection, as well as OpenGL widgets for 3D graphical
161manipulation. FOX also implements icons, images, and user-convenience
162features such as status line help, and tooltips.
163
164<P>
165Even though FOX offers a large collection of controls already, FOX
166leverages C++ to allow programmers to easily build additional Controls
167and GUI elements, simply by taking existing controls, and creating a
168derived class which simply adds or redefines the desired behavior.
169</dd>
170 </dl>
171<dl compact="compact" class="seetitle">
172 <dt><em class="citetitle"><a href="http://www.daa.com.au/~james/software/pygtk/"
173 >PyGTK</a></em></dt>
174 <dd>
175is a set of bindings for the <a class="ulink" href="http://www.gtk.org/"
176 >GTK</a> widget set.
177It provides an object oriented interface that is slightly higher
178level than the C one. It automatically does all the type casting and
179reference counting that you would have to do normally with the C
180API. There are also
181<a class="ulink" href="http://www.daa.com.au/~james/gnome/"
182 >bindings</a>
183to <a class="ulink" href="http://www.gnome.org"
184 >GNOME</a>, and a
185<a class="ulink" href="http://laguna.fmedic.unam.mx/~daniel/pygtutorial/pygtutorial/index.html"
186 >tutorial</a>
187is available.
188</dd>
189 </dl>
190</div>
191
192<P>
193
194<DIV CLASS="navigation">
195<div class='online-navigation'>
196<p></p><hr />
197<table align="center" width="100%" cellpadding="0" cellspacing="2">
198<tr>
199<td class='online-navigation'><a rel="prev" title="16.5.3.1 Command line usage"
200 href="node757.html"><img src='../icons/previous.png'
201 border='0' height='32' alt='Previous Page' width='32' /></A></td>
202<td class='online-navigation'><a rel="parent" title="16. Graphical User Interfaces"
203 href="tkinter.html"><img src='../icons/up.png'
204 border='0' height='32' alt='Up One Level' width='32' /></A></td>
205<td class='online-navigation'><a rel="next" title="17. Restricted Execution"
206 href="restricted.html"><img src='../icons/next.png'
207 border='0' height='32' alt='Next Page' width='32' /></A></td>
208<td align="center" width="100%">Python Library Reference</td>
209<td class='online-navigation'><a rel="contents" title="Table of Contents"
210 href="contents.html"><img src='../icons/contents.png'
211 border='0' height='32' alt='Contents' width='32' /></A></td>
212<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
213 border='0' height='32' alt='Module Index' width='32' /></a></td>
214<td class='online-navigation'><a rel="index" title="Index"
215 href="genindex.html"><img src='../icons/index.png'
216 border='0' height='32' alt='Index' width='32' /></A></td>
217</tr></table>
218<div class='online-navigation'>
219<b class="navlabel">Previous:</b>
220<a class="sectref" rel="prev" href="node757.html">16.5.3.1 Command line usage</A>
221<b class="navlabel">Up:</b>
222<a class="sectref" rel="parent" href="tkinter.html">16. Graphical User Interfaces</A>
223<b class="navlabel">Next:</b>
224<a class="sectref" rel="next" href="restricted.html">17. Restricted Execution</A>
225</div>
226</div>
227<hr />
228<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
229</DIV>
230<!--End of Navigation Panel-->
231<ADDRESS>
232See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
233</ADDRESS>
234</BODY>
235</HTML>