📄 205.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Robots" content="INDEX,NOFOLLOW">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<TITLE>Safari | Python Developer's Handbook -> Summary</TITLE>
<LINK REL="stylesheet" HREF="oreillyi/oreillyN.css">
</HEAD>
<BODY bgcolor="white" text="black" link="#990000" vlink="#990000" alink="#990000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" cellpadding=5 cellspacing=0 border=0 class="navtopbg"><tr><td><font size="1"><p class="navtitle"><a href="8.html" class="navtitle">Web Development</a> > <a href="0672319942.html" class="navtitle">Python Developer's Handbook</a> > <a href="199.html" class="navtitle">14. Python and GUIs</a> > <span class="nonavtitle">Summary</span></p></font></td><td align="right" valign="top" nowrap><font size="1"><a href="main.asp?list" class="safnavoff">See All Titles</a></font></td></tr></table>
<TABLE width=100% bgcolor=white border=0 cellspacing=0 cellpadding=5><TR><TD>
<TABLE border=0 width="100%" cellspacing=0 cellpadding=0><TR><td align=left width="15%" class="headingsubbarbg"><a href="204.html" title="Designing a Good Interface"><font size="1">< BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=205" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="205.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="207.html" title="15. Tkinter"><font size="1">CONTINUE ></font></a></td></TR></TABLE>
<a href="5%2F31%2F2002+4%3A48%3A04+PM.html" TABINDEX="-1"><img src=images/spacer.gif border=0 width=1 height=1></a><font color=white size=1>152015024128143245168232148039199167010047123209178152124239215162148036103059230235001245</font><a href="read5.asp?bookname=0672319942&snode=205&now=5%2F31%2F2002+4%3A48%3A04+PM" TABINDEX="-1"><img src=images/spacer.gif border=0 width=1 height=1></a><br>
<FONT>
<h3>Summary</h3>
<p>This 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梚t is called <i>Tkinter,</I> and it's part of
the standard Python distribution.</P>
<P>Besides <I>Tkinter,</i> many other GUI solutions are
supported by Python. This chapter exposes many of them.</p>
<p>
<i>Pythonwin</I> is a wrapper to the MFC. It is
included within the Python distribution for Windows.</P>
<P>
<I>wxPython</i> is a GUI toolkit for the Python
programming language that works like a wrapper to the wxWindows C++
library.</p>
<p>
<i>STDWIN</I> stands for <I>Standard Window
Interface.</I> It is a platform-independent interface to C-based window
systems. Currently, STDWIN is obsolete and unsupported, without any further
development effort being made.</P>
<p>
<i>PyKDE</i> is a set of Python bindings for the KDE
toolkit梩he KDE classes, which uses <tt class="monofont">PyQt</tt> 梐 set
of straightforward Python bindings for the Qt toolkit.</p>
<p>
<i>Wpy</i> is a class library system, based on the
Microsoft Foundation Classes, that is used for writing GUI code easily in
Python.</p>
<p>
<i>PyGTK</i> is a set of bindings for the GTK widget
set and Gnome libraries that runs on any platform that supports GTK.
<A naMe="idx1073748317"></a>
<a Name="idx1073748318"></a>
<A namE="idx1073748319"></A>
</P>
<P>
<i>PyOpenGL</i> (Python Tk-OpenGL Module) is the
OpenGL-Widget for Python/Tk. <i>OpenGL</i> is the premier
environment for developing portable, interactive 2D and 3D graphics
applications.</P>
<P>
<I>Wafe,</I> which stands for <i>Widget Athena
front end,</i> is a package that implements a symbolic, string-based
interface based on Tcl to the X Toolkit, the Athena Widget Set.</p>
<p>
<I>pyFLTK</I> 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梚t is also
largely compatible with the <I>XForms</I> library.</p>
<p>
<i>FXPy</i> 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.</P>
<P>Motif is the market leader among UNIX GUI toolkits, and
<I>Python X Extension</I> bounds it to Python.</p>
<p>
<i>PyAmulet</i> is another Python GUI. It wraps an
underlying C library, called <i>OpenAmulet.</i>
</p>
<p>
<i>DynWin</i> is a dynamic GUI class library for
Win32 and Python.</p>
<p>The <i>Java Python Interface (JPI)</i> is an
interface that allows Java and Python (the C Implementation, not JPython) to
primitively work together.</p>
<p>The <i>Abstract Windowing Toolkit (AWT)</i> is a user
interface toolkit provided by the Java programming language class
library.</p>
<p>
<I>FORMS</i> is a module for the <i>SGI
IRIX</I> platform that provides an interface to the
<i>FORMS</i> Library.</p>
<P>As you could see, the number of options is large. It is your choice
to decide which one best fits your needs.</p>
</fonT>
<P><TABLE width="100%" border=0><TR valign="top"><TD><font size=1 color="#C0C0C0"><br></font></TD><TD align=right><font size=1 color="#C0C0C0">Last updated on 1/30/2002<br>Python Developer's Handbook, © 2002 Sams Publishing</font></TD></TR></TABLE></P>
<TABLE border=0 width="100%" cellspacing=0 cellpadding=0><TR><td align=left width="15%" class="headingsubbarbg"><a href="204.html" title="Designing a Good Interface"><font size="1">< BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=205" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="205.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="207.html" title="15. Tkinter"><font size="1">CONTINUE ></font></a></td></TR></TABLE>
</TD></TR></TABLE>
<br><TABLE width=100% bgcolor=white border=0 cellspacing=0 cellpadding=5><TR><TD><H4 class=Title>Index terms contained in this section</H4>
<font size=2>
graphical user interfaces (GUIs)<BR>
<a href="#idx1073748317">toolkits</a><BR>
interfaces<BR>
graphical user (GUI)<BR>
<a href="#idx1073748318">toolkits</a><BR>
toolkits<BR>
<a href="#idx1073748319">graphical user interfaces (GUIs)</a><BR>
<BR>
</font></TD></TR></TABLE>
<!--EndOfBrowse-->
</TD></TR></TABLE>
<table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#990000><tr><td><p align=center><font size=1 face="verdana,arial,helvetica" color=white>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -