1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?> 
   2 <!DOCTYPE html PUBLIC 
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
   3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en"> 
   5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1" /> 
   6 <meta name=
"generator" content=
"Docutils 0.3.1: http://docutils.sourceforge.net/" /> 
   7 <title>The wxPython Tutorial
</title> 
   8 <meta name=
"author" content=
"Patrick K. O'Brien" /> 
   9 <meta name=
"organization" content=
"Orbtech" /> 
  10 <meta name=
"date" content=
"2003-07-02" /> 
  11 <link rel=
"stylesheet" href=
"default.css" type=
"text/css" /> 
  14 <div class=
"document" id=
"the-wxpython-tutorial"> 
  15 <h1 class=
"title">The wxPython Tutorial
</h1> 
  16 <h2 class=
"subtitle" id=
"how-to-get-up-and-running-with-wxpython">How to get up and running with wxPython
</h2> 
  17 <table class=
"docinfo" frame=
"void" rules=
"none"> 
  18 <col class=
"docinfo-name" /> 
  19 <col class=
"docinfo-content" /> 
  21 <tr><th class=
"docinfo-name">Author:
</th> 
  22 <td>Patrick K. O'Brien
</td></tr> 
  23 <tr><th class=
"docinfo-name">Contact:
</th> 
  24 <td><a class=
"first last reference" href=
"mailto:pobrien@orbtech.com">pobrien
@orbtech.com
</a></td></tr> 
  25 <tr><th class=
"docinfo-name">Organization:
</th> 
  26 <td><a class=
"first last reference" href=
"http://www.orbtech.com/">Orbtech
</a></td></tr> 
  27 <tr><th class=
"docinfo-name">Date:
</th> 
  28 <td>2003-
07-
02</td></tr> 
  29 <tr><th class=
"docinfo-name">Revision:
</th> 
  31 <tr class=
"field"><th class=
"docinfo-name">License:
</th><td class=
"field-body">wxWindows Free Documentation Licence, Version 
3</td> 
  35 <div class=
"contents topic" id=
"contents"> 
  36 <p class=
"topic-title"><a name=
"contents">Contents
</a></p> 
  38 <li><a class=
"reference" href=
"#introduction" id=
"id1" name=
"id1">Introduction
</a></li> 
  39 <li><a class=
"reference" href=
"#what-is-wxpython" id=
"id2" name=
"id2">What is wxPython?
</a></li> 
  40 <li><a class=
"reference" href=
"#license" id=
"id3" name=
"id3">License
</a></li> 
  43 <div class=
"section" id=
"introduction"> 
  44 <h1><a class=
"toc-backref" href=
"#id1" name=
"introduction">Introduction
</a></h1> 
  45 <p>This is a tutorial for the wxPython GUI toolkit.  It uses the new wx
 
  46 package syntax that was introduced in wxPython 
2.4.1.
</p> 
  48 <div class=
"section" id=
"what-is-wxpython"> 
  49 <h1><a class=
"toc-backref" href=
"#id2" name=
"what-is-wxpython">What is wxPython?
</a></h1> 
  50 <p>wxPython is a GUI toolkit for the Python programming language.  It
 
  51 allows Python programmers to create programs with a graphical user
 
  52 interface for Windows, Linux, and Mac OS X.
</p> 
  54 <div class=
"section" id=
"license"> 
  55 <h1><a class=
"toc-backref" href=
"#id3" name=
"license">License
</a></h1> 
  56 <p>This document adheres to the same license as the other documentation
 
  57 that comes with wxWindows:
</p> 
  58 <pre class=
"literal-block"> 
  59                 wxWindows Free Documentation Licence, Version 
3 
  60                 ===============================================
 
  62   Copyright (c) 
1998 Julian Smart, Robert Roebling et al
 
  64   Everyone is permitted to copy and distribute verbatim copies
 
  65   of this licence document, but changing it is not allowed.
 
  67                    WXWINDOWS FREE DOCUMENTATION LICENCE
 
  68      TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
  70   1. Permission is granted to make and distribute verbatim copies of this
 
  71   manual or piece of documentation provided any copyright notice and this
 
  72   permission notice are preserved on all copies.
 
  74   2. Permission is granted to process this file or document through a
 
  75   document processing system and, at your option and the option of any third
 
  76   party, print the results, provided a printed document carries a copying
 
  77   permission notice identical to this one.
 
  79   3. Permission is granted to copy and distribute modified versions of this
 
  80   manual or piece of documentation under the conditions for verbatim
 
  81   copying, provided also that any sections describing licensing conditions
 
  82   for this manual, such as, in particular, the GNU General Public Licence,
 
  83   the GNU Library General Public Licence, and any wxWindows Licence are
 
  84   included exactly as in the original, and provided that the entire
 
  85   resulting derived work is distributed under the terms of a permission
 
  86   notice identical to this one.
 
  88   4. Permission is granted to copy and distribute translations of this
 
  89   manual or piece of documentation into another language, under the above
 
  90   conditions for modified versions, except that sections related to
 
  91   licensing, including this paragraph, may also be included in translations
 
  92   approved by the copyright holders of the respective licence documents in
 
  93   addition to the original English.
 
  97   5. BECAUSE THIS MANUAL OR PIECE OF DOCUMENTATION IS LICENSED FREE OF CHARGE,
 
  98   THERE IS NO WARRANTY FOR IT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 
 
  99   EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
 
 100   PARTIES PROVIDE THIS MANUAL OR PIECE OF DOCUMENTATION 
"AS IS
" WITHOUT
 
 101   WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
 
 102   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 
 103   PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
 
 104   THE MANUAL OR PIECE OF DOCUMENTATION IS WITH YOU.  SHOULD THE MANUAL OR
 
 105   PIECE OF DOCUMENTATION PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
 
 106   NECESSARY SERVICING, REPAIR OR CORRECTION.
 
 108   6. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
 
 109   ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
 
 110   REDISTRIBUTE THE MANUAL OR PIECE OF DOCUMENTATION AS PERMITTED ABOVE, BE
 
 111   LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
 
 112   CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
 
 113   MANUAL OR PIECE OF DOCUMENTATION (INCLUDING BUT NOT LIMITED TO LOSS OF
 
 114   DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
 
 115   PARTIES OR A FAILURE OF A PROGRAM BASED ON THE MANUAL OR PIECE OF
 
 116   DOCUMENTATION TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
 
 117   OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 
 123 <hr class=
"footer" /> 
 125 Generated on: 
2004-
02-
27 00:
27 UTC.