]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/wxPython.tex
readding
[wxWidgets.git] / docs / latex / wx / wxPython.tex
CommitLineData
06d20283
RD
1\chapter{wxPython Notes}\label{wxPython}
2\pagenumbering{arabic}%
3\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
4\setfooter{\thepage}{}{}{}{}{\thepage}%
5
2a47d3c1
JS
6This addendum is written by Robin Dunn, author of the wxPython wrapper
7
06d20283
RD
8%----------------------------------------------------------------------
9\section{What is wxPython?}\label{wxpwhat}
10
f899db6d 11wxPython is a blending of the wxWindows GUI classes and the
06d20283
RD
12\urlref{Python}{http://www.python.org/} programming language.
13
14\wxheading{Python}
15
76e1c2de 16So what is Python? Go to
7e9a386e
JS
17\urlref{http://www.python.org}{http://www.python.org} to learn more,
18but in a nutshell Python is an interpreted,
06d20283
RD
19interactive, object-oriented programming language. It is often
20compared to Tcl, Perl, Scheme or Java.
21
22Python combines remarkable power with very clear syntax. It has
23modules, classes, exceptions, very high level dynamic data types, and
24dynamic typing. There are interfaces to many system calls and
25libraries, and new built-in modules are easily written in C or
26C++. Python is also usable as an extension language for applications
27that need a programmable interface.
28
29Python is copyrighted but freely usable and distributable, even for
30commercial use.
31
32\wxheading{wxPython}
33
34wxPython is a Python package that can be imported at runtime that
35includes a collection of Python modules and an extension module
7e9a386e
JS
36(native code). It provides a series of Python classes that mirror (or
37shadow) many of the wxWindows GUI classes. This extension module
06d20283
RD
38attempts to mirror the class heiarchy of wxWindows as closely as
39possble. This means that there is a wxFrame class in wxPython that
40looks, smells, tastes and acts almost the same as the wxFrame class in
41the C++ version.
42
7e9a386e 43wxPython is very versitile. It can be used to create standalone GUI
06d20283
RD
44applications, or in situations where Python is embedded in a C++
45application as an internal scripting or macro language.
46
47Currently wxPython is available for Win32 platforms and the GTK
7e9a386e
JS
48toolkit (wxGTK) on most Unix/X-windows platforms. The effort to
49enable wxPython for wxMotif will begin shortly. See \helpref{Building Python}{wxpbuild} for
2a47d3c1 50details about getting wxPython working for you.
06d20283 51
06d20283
RD
52%----------------------------------------------------------------------
53\section{Why use wxPython?}\label{wxpwhy}
54
06d20283 55So why would you want to use wxPython over just C++ and wxWindows?
2a47d3c1 56Personally I prefer using Python for everything. I only use C++ when
76e1c2de 57I absolutely have to eek more performance out of an algorithm, and even
06d20283
RD
58then I ususally code it as an extension module and leave the majority
59of the program in Python.
60
61Another good thing to use wxPython for is quick prototyping of your
7e9a386e
JS
62wxWindows apps. With C++ you have to continuously go though the
63edit-compile-link-run cycle, which can be quite time consuming. With
64Python it is only an edit-run cycle. You can easily build an
06d20283 65application in a few hours with Python that would normally take a few
7e9a386e 66days or longer with C++. Converting a wxPython app to a C++/wxWindows app
06d20283
RD
67should be a straight forward task.
68
06d20283
RD
69%----------------------------------------------------------------------
70\section{Other Python GUIs}\label{wxpother}
71
72There are other GUI solutions out there for Python.
73
74\wxheading{Tkinter}
75
7e9a386e
JS
76Tkinter is the defacto standard GUI for Python. It is available
77on nearly every platform that Python and Tcl/TK are. Why Tcl/Tk?
06d20283
RD
78Well because Tkinter is just a wrapper around Tcl's GUI toolkit, Tk.
79This has its upsides and its downsides...
80
7e9a386e
JS
81The upside is that Tk is a pretty versatile toolkit. It can be made
82to do a lot of things in a lot of different environments. It is fairly
06d20283
RD
83easy to create new widgets and use them interchangably in your
84programs.
85
7e9a386e 86The downside is Tcl. When using Tkinter you actually have two
06d20283 87separate language interpreters running, the Python interpreter and the
7e9a386e
JS
88Tcl interpreter for the GUI. Since the guts of Tcl is mostly about
89string processing, it is fairly slow as well. (Not too bad on a fast
06d20283
RD
90Pentium II, but you really notice the difference on slower machines.)
91
92It wasn't until the lastest version of Tcl/Tk that native Look and
7e9a386e
JS
93Feel was possible on non-Motif platforms. This is because Tk
94usually implements its own widgets (controls) even when there are
06d20283
RD
95native controls available.
96
7e9a386e 97Tkinter is a pretty low-level toolkit. You have to do a lot of work
06d20283
RD
98(verbose program code) to do things that would be much simpler with a higher
99level of abstraction.
100
101\wxheading{PythonWin}
102
7e9a386e
JS
103PythonWin is an add-on package for Python for the Win32 platform. It
104includes wrappers for MFC as well as much of the Win32 API. Because
06d20283 105of its foundation, it is very familiar for programmers who have
7e9a386e
JS
106experience with MFC and the Win32 API. It is obviously not compatible
107with other platforms and toolkits. PythonWin is organized as separate
06d20283
RD
108packages and modules so you can use the pieces you need without having
109to use the GUI portions.
110
111\wxheading{Others}
112
113There are quite a few other GUI modules available for Python, some in
7e9a386e 114active use, some that havn't been updated for ages. Most are simple
06d20283 115wrappers around some C or C++ toolkit or another, and most are not
76e1c2de 116cross-platform compatible. See \urlref{this link}{http://www.python.org/download/Contributed.html\#Graphics}
06d20283
RD
117for a listing of a few of them.
118
06d20283
RD
119%----------------------------------------------------------------------
120\section{Building wxPython}\label{wxpbuild}
121
122I used SWIG (\urlref{http://www.swig.org}{http://www.swig.org}) to
ac1edf35 123to create the source code for the
7e9a386e 124extension module. This enabled me to only have to deal with a small
ac1edf35
RD
125amount of code and only have to bother with the exceptional issues.
126SWIG takes care of the rest and generates all the repetative code for
7e9a386e 127me. You don't need SWIG to build the extension module as all the
ac1edf35 128generated C++ code is included under the src directory.
06d20283
RD
129
130I added a few minor features to SWIG to control some of the code
7e9a386e 131generation. If you want to play around with this you will need to get
76e1c2de 132a recent version of SWIG from their CVS or from a daily build. See
ac1edf35 133\urlref{http://www.swig.org/}{http://www.swig.org/} for details.
06d20283 134
7e9a386e 135wxPython is organized as a Python package. This means that the
06d20283 136directory containing the results of the build process should be a
7e9a386e
JS
137subdirectory of a directory on the \tt{PYTHONPATH}. (And preferably should
138be named wxPython.) You can control where the build process will dump
139wxPython by setting the \tt{TARGETDIR} variable for the build utility (see
140below).
06d20283
RD
141
142\begin{enumerate}\itemsep=0pt
7e9a386e
JS
143\item Build wxWindows as described in its BuildCVS.txt file. For Unix
144systems I run configure with these flags:
06d20283 145
ac1edf35
RD
146\begin{verbatim}
147 --with-gtk
148 --with-libjpeg
149 --without-odbc
150 --enable-unicode=no
151 --enable-threads=yes
152 --enable-socket=yes
153 --enable-static=no
154 --enable-shared=yes
155 --disable-std_iostreams
156\end{verbatim}
06d20283 157
7e9a386e 158You can use whatever flags you want, but I know these work.
06d20283 159
7e9a386e
JS
160For Win32 systems I use Visual C++ 6.0, but 5.0 should work also. The
161build utility currently does not support any other Win32 compilers.
76e1c2de 162
ac1edf35 163\item At this point you may want to make an alias or symlink, script,
7e9a386e
JS
164batch file, whatever on the PATH that invokes \tt{\$(WXWIN)/utils/wxPython/distrib/build.py} to
165help simplify matters somewhat. For example, on my Win32 system I have a file named
166 \tt{build}.bat in a directory on the PATH that contains:
06d20283 167
7e9a386e 168\tt{python \%WXWIN/utils/wxPython/distrib/build.py \%1 \%2 \%3 \%4 \%5 \%6}
06d20283 169
06d20283 170\item Change into the \tt{\$(WXWIN)/utils/wxPython/src} directory.
76e1c2de 171
ac1edf35 172\item Type "\tt{build -b}" to build wxPython and "\tt{build -i}" to
7e9a386e
JS
173install it, or "\tt{build -bi}" to do both steps at once.
174
175The build.py script actually generates a Makefile based on what it
176finds on your system and information found in the build.cfg file.
177If you have troubles building or you want it built or installed in
178a different way, take a look at the docstring in build.py. You are
179able to to override many configuration options in a file named
180build.local.
76e1c2de 181
ac1edf35 182\item To build and install the add-on modules, change to the appropriate
7e9a386e
JS
183directory under \tt{\$(WXWIN)/utils/wxPython/modules} and run the build
184utility again.
76e1c2de 185
f899db6d 186\item Change to the \tt{\$(WXWIN)/utils/wxPython/demo} directory.
76e1c2de 187
7e9a386e 188\item Try executing the demo program. For example:
ac1edf35 189
7e9a386e 190\tt{python demo.py}
06d20283 191
7e9a386e 192To run it without requiring a console on Win32, you can use the
ac1edf35
RD
193\tt{pythonw.exe} version of Python either from the command line or from a
194shortcut.
06d20283
RD
195\end{enumerate}
196
06d20283
RD
197%----------------------------------------------------------------------
198\section{Using wxPython}\label{wxpusing}
199
200\wxheading{First things first...}
201
7e9a386e 202I'm not going to try and teach the Python language here. You can do
06d20283
RD
203that at the \urlref{Python Tutorial}{http://www.python.org/doc/tut/tut.html}.
204I'm also going to assume that you know a bit about wxWindows already,
205enough to notice the similarities in the classes used.
206
7e9a386e
JS
207Take a look at the following wxPython program. You can find a similar
208program in the \tt{wxPython/demo} directory, named \tt{DialogUnits.py}. If your
06d20283
RD
209Python and wxPython are properly installed, you should be able to run
210it by issuing this command:
211
212\begin{indented}{1cm}
f899db6d 213 \bftt{python DialogUnits.py}
06d20283
RD
214\end{indented}
215
216\hrule
217
218\begin{verbatim}
219001: ## import all of the wxPython GUI package
220002: from wxPython.wx import *
221003:
222004: ## Create a new frame class, derived from the wxPython Frame.
223005: class MyFrame(wxFrame):
224006:
225007: def __init__(self, parent, id, title):
226008: # First, call the base class' __init__ method to create the frame
227009: wxFrame.__init__(self, parent, id, title,
228010: wxPoint(100, 100), wxSize(160, 100))
229011:
230012: # Associate some events with methods of this class
231013: EVT_SIZE(self, self.OnSize)
232014: EVT_MOVE(self, self.OnMove)
233015:
234016: # Add a panel and some controls to display the size and position
235017: panel = wxPanel(self, -1)
236018: wxStaticText(panel, -1, "Size:",
237019: wxDLG_PNT(panel, wxPoint(4, 4)), wxDefaultSize)
238020: wxStaticText(panel, -1, "Pos:",
239021: wxDLG_PNT(panel, wxPoint(4, 14)), wxDefaultSize)
240022: self.sizeCtrl = wxTextCtrl(panel, -1, "",
241023: wxDLG_PNT(panel, wxPoint(24, 4)),
242024: wxDLG_SZE(panel, wxSize(36, -1)),
243025: wxTE_READONLY)
244026: self.posCtrl = wxTextCtrl(panel, -1, "",
245027: wxDLG_PNT(panel, wxPoint(24, 14)),
246028: wxDLG_SZE(panel, wxSize(36, -1)),
247029: wxTE_READONLY)
248030:
249031:
250032: # This method is called automatically when the CLOSE event is
251033: # sent to this window
252034: def OnCloseWindow(self, event):
253035: # tell the window to kill itself
254036: self.Destroy()
255037:
256038: # This method is called by the system when the window is resized,
257039: # because of the association above.
258040: def OnSize(self, event):
259041: size = event.GetSize()
260042: self.sizeCtrl.SetValue("%s, %s" % (size.width, size.height))
261043:
262044: # tell the event system to continue looking for an event handler,
263045: # so the default handler will get called.
264046: event.Skip()
265047:
266048: # This method is called by the system when the window is moved,
267049: # because of the association above.
268050: def OnMove(self, event):
269051: pos = event.GetPosition()
270052: self.posCtrl.SetValue("%s, %s" % (pos.x, pos.y))
271053:
272054:
273055: # Every wxWindows application must have a class derived from wxApp
274056: class MyApp(wxApp):
275057:
276058: # wxWindows calls this method to initialize the application
277059: def OnInit(self):
278060:
279061: # Create an instance of our customized Frame class
280062: frame = MyFrame(NULL, -1, "This is a test")
281063: frame.Show(true)
282064:
283065: # Tell wxWindows that this is our main window
284066: self.SetTopWindow(frame)
285067:
286068: # Return a success flag
287069: return true
288070:
289071:
290072: app = MyApp(0) # Create an instance of the application class
291073: app.MainLoop() # Tell it to start processing events
292074:
293\end{verbatim}
294\hrule
295
2a47d3c1
JS
296\wxheading{Things to notice}
297
298\begin{enumerate}\itemsep=0pt
06d20283 299\item At line 2 the wxPython classes, constants, and etc. are imported
7e9a386e 300into the current module's namespace. If you prefer to reduce
ac1edf35 301namespace pollution you can use "\tt{from wxPython import wx}" and
06d20283
RD
302then access all the wxPython identifiers through the wx module, for
303example, "\tt{wx.wxFrame}".
76e1c2de 304
06d20283 305\item At line 13 the frame's sizing and moving events are connected to
7e9a386e
JS
306methods of the class. These helper functions are intended to be like
307the event table macros that wxWindows employs. But since static event
06d20283 308tables are impossible with wxPython, we use helpers that are named the
7e9a386e 309same to dynamically build the table. The only real difference is
06d20283
RD
310that the first arguemnt to the event helpers is always the window that
311the event table entry should be added to.
76e1c2de 312
2a47d3c1 313\item Notice the use of \tt{wxDLG\_PNT} and \tt{wxDLG\_SZE} in lines 19
7e9a386e 314- 29 to convert from dialog units to pixels. These helpers are unique
06d20283 315to wxPython since Python can't do method overloading like C++.
76e1c2de 316
06d20283 317\item There is an \tt{OnCloseWindow} method at line 34 but no call to
7e9a386e
JS
318EVT\_CLOSE to attach the event to the method. Does it really get
319called? The answer is, yes it does. This is because many of the
06d20283 320\em{standard} events are attached to windows that have the associated
7e9a386e 321\em{standard} method names. I have tried to follow the lead of the
06d20283
RD
322C++ classes in this area to determine what is \em{standard} but since
323that changes from time to time I can make no guarentees, nor will it
7e9a386e 324be fully documented. When in doubt, use an EVT\_*** function.
76e1c2de 325
06d20283 326\item At lines 17 to 21 notice that there are no saved references to
7e9a386e 327the panel or the static text items that are created. Those of you
06d20283 328who know Python might be wondering what happens when Python deletes
7e9a386e
JS
329these objects when they go out of scope. Do they disappear from the GUI? They
330don't. Remember that in wxPython the Python objects are just shadows of the
331coresponding C++ objects. Once the C++ windows and controls are
06d20283 332attached to their parents, the parents manage them and delete them
7e9a386e 333when necessary. For this reason, most wxPython objects do not need to
2a47d3c1 334have a \_\_del\_\_ method that explicitly causes the C++ object to be
7e9a386e 335deleted. If you ever have the need to forcibly delete a window, use
06d20283 336the Destroy() method as shown on line 36.
76e1c2de 337
06d20283 338\item Just like wxWindows in C++, wxPython apps need to create a class
f899db6d 339derived from \tt{wxApp} (line 56) that implements a method named
06d20283
RD
340\tt{OnInit}, (line 59.) This method should create the application's
341main window (line 62) and use \tt{wxApp.SetTopWindow()} (line 66) to
342inform wxWindows about it.
76e1c2de 343
06d20283 344\item And finally, at line 72 an instance of the application class is
7e9a386e
JS
345created. At this point wxPython finishes initializing itself, and calls
346the \tt{OnInit} method to get things started. (The zero parameter here is
347a flag for functionality that isn't quite implemented yet. Just
06d20283
RD
348ignore it for now.) The call to \tt{MainLoop} at line 73 starts the event
349loop which continues until the application terminates or all the top
350level windows are closed.
06d20283
RD
351\end{enumerate}
352
06d20283
RD
353%----------------------------------------------------------------------
354\section{wxWindows classes implemented in wxPython}\label{wxpclasses}
355
7e9a386e 356The following classes are supported in wxPython. Most provide nearly
06d20283 357full implementations of the public interfaces specified in the C++
7e9a386e 358documentation, others are less so. They will all be brought as close
06d20283
RD
359as possible to the C++ spec over time.
360
361\begin{itemize}\itemsep=0pt
362\item \helpref{wxAcceleratorEntry}{wxacceleratorentry}
363\item \helpref{wxAcceleratorTable}{wxacceleratortable}
364\item \helpref{wxActivateEvent}{wxactivateevent}
365\item \helpref{wxBitmapButton}{wxbitmapbutton}
366\item \helpref{wxBitmap}{wxbitmap}
f899db6d 367\item wxBMPHandler
86e78222 368\item \helpref{wxBoxSizer}{wxboxsizer}
06d20283
RD
369\item \helpref{wxBrush}{wxbrush}
370\item \helpref{wxButton}{wxbutton}
371\item \helpref{wxCalculateLayoutEvent}{wxcalculatelayoutevent}
86e78222 372\item wxCaret
06d20283
RD
373\item \helpref{wxCheckBox}{wxcheckbox}
374\item \helpref{wxCheckListBox}{wxchecklistbox}
375\item \helpref{wxChoice}{wxchoice}
376\item \helpref{wxClientDC}{wxclientdc}
377\item \helpref{wxCloseEvent}{wxcloseevent}
378\item \helpref{wxColourData}{wxcolourdata}
379\item \helpref{wxColourDialog}{wxcolourdialog}
380\item \helpref{wxColour}{wxcolour}
381\item \helpref{wxComboBox}{wxcombobox}
382\item \helpref{wxCommandEvent}{wxcommandevent}
383\item \helpref{wxConfig}{wxconfigbase}
384\item \helpref{wxControl}{wxcontrol}
385\item \helpref{wxCursor}{wxcursor}
386\item \helpref{wxDC}{wxdc}
387\item \helpref{wxDialog}{wxdialog}
388\item \helpref{wxDirDialog}{wxdirdialog}
389\item \helpref{wxDropFilesEvent}{wxdropfilesevent}
390\item \helpref{wxEraseEvent}{wxeraseevent}
391\item \helpref{wxEvent}{wxevent}
392\item \helpref{wxEvtHandler}{wxevthandler}
393\item \helpref{wxFileDialog}{wxfiledialog}
394\item \helpref{wxFocusEvent}{wxfocusevent}
395\item \helpref{wxFontData}{wxfontdata}
396\item \helpref{wxFontDialog}{wxfontdialog}
397\item \helpref{wxFont}{wxfont}
398\item \helpref{wxFrame}{wxframe}
399\item \helpref{wxGauge}{wxgauge}
f899db6d
RD
400\item wxGIFHandler
401\item wxGLCanvas
fd34e3a5
JS
402\item wxGridCell
403\item wxGridEvent
06d20283 404\item \helpref{wxGrid}{wxgrid}
86e78222
RD
405\item \helpref{wxHtmlCell}{wxhtmlcell}
406\item \helpref{wxHtmlContainerCell}{wxhtmlcontainercell}
407\item \helpref{wxHtmlParser}{wxhtmlparser}
408\item \helpref{wxHtmlTagHandler}{wxhtmltaghandler}
409\item \helpref{wxHtmlTag}{wxhtmltag}
410\item \helpref{wxHtmlWinParser}{wxhtmlwinparser}
411\item \helpref{wxHtmlWinTagHandler}{wxhtmlwintaghandler}
412\item \helpref{wxHtmlWindow}{wxhtmlwindow}
fd34e3a5 413\item wxIconizeEvent
06d20283
RD
414\item \helpref{wxIcon}{wxicon}
415\item \helpref{wxIdleEvent}{wxidleevent}
f899db6d
RD
416\item \helpref{wxImage}{wximage}
417\item \helpref{wxImageHandler}{wximagehandler}
06d20283
RD
418\item \helpref{wxImageList}{wximagelist}
419\item \helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}
420\item \helpref{wxInitDialogEvent}{wxinitdialogevent}
421\item \helpref{wxJoystickEvent}{wxjoystickevent}
f899db6d 422\item wxJPEGHandler
06d20283
RD
423\item \helpref{wxKeyEvent}{wxkeyevent}
424\item \helpref{wxLayoutAlgorithm}{wxlayoutalgorithm}
425\item \helpref{wxLayoutConstraints}{wxlayoutconstraints}
426\item \helpref{wxListBox}{wxlistbox}
427\item \helpref{wxListCtrl}{wxlistctrl}
428\item \helpref{wxListEvent}{wxlistevent}
21f280f4 429\item \helpref{wxListItem}{wxlistctrlsetitem}
06d20283
RD
430\item \helpref{wxMDIChildFrame}{wxmdichildframe}
431\item \helpref{wxMDIClientWindow}{wxmdiclientwindow}
432\item \helpref{wxMDIParentFrame}{wxmdiparentframe}
433\item \helpref{wxMask}{wxmask}
fd34e3a5 434\item wxMaximizeEvent
06d20283
RD
435\item \helpref{wxMemoryDC}{wxmemorydc}
436\item \helpref{wxMenuBar}{wxmenubar}
437\item \helpref{wxMenuEvent}{wxmenuevent}
438\item \helpref{wxMenuItem}{wxmenuitem}
439\item \helpref{wxMenu}{wxmenu}
440\item \helpref{wxMessageDialog}{wxmessagedialog}
441\item \helpref{wxMetaFileDC}{wxmetafiledc}
442\item \helpref{wxMiniFrame}{wxminiframe}
443\item \helpref{wxMouseEvent}{wxmouseevent}
444\item \helpref{wxMoveEvent}{wxmoveevent}
445\item \helpref{wxNotebookEvent}{wxnotebookevent}
446\item \helpref{wxNotebook}{wxnotebook}
7bcb11d3 447\item \helpref{wxPageSetupDialogData}{wxpagesetupdialogdata}
06d20283
RD
448\item \helpref{wxPageSetupDialog}{wxpagesetupdialog}
449\item \helpref{wxPaintDC}{wxpaintdc}
450\item \helpref{wxPaintEvent}{wxpaintevent}
451\item \helpref{wxPalette}{wxpalette}
452\item \helpref{wxPanel}{wxpanel}
453\item \helpref{wxPen}{wxpen}
f899db6d 454\item wxPNGHandler
06d20283
RD
455\item \helpref{wxPoint}{wxpoint}
456\item \helpref{wxPostScriptDC}{wxpostscriptdc}
2233e5b8 457\item \helpref{wxPreviewFrame}{wxpreviewframe}
06d20283 458\item \helpref{wxPrintData}{wxprintdata}
2233e5b8 459\item \helpref{wxPrintDialogData}{wxprintdialogdata}
06d20283 460\item \helpref{wxPrintDialog}{wxprintdialog}
2233e5b8
RD
461\item \helpref{wxPrinter}{wxprinter}
462\item \helpref{wxPrintPreview}{wxprintpreview}
06d20283 463\item \helpref{wxPrinterDC}{wxprinterdc}
2233e5b8 464\item \helpref{wxPrintout}{wxprintout}
06d20283
RD
465\item \helpref{wxQueryLayoutInfoEvent}{wxquerylayoutinfoevent}
466\item \helpref{wxRadioBox}{wxradiobox}
467\item \helpref{wxRadioButton}{wxradiobutton}
468\item \helpref{wxRealPoint}{wxrealpoint}
469\item \helpref{wxRect}{wxrect}
470\item \helpref{wxRegionIterator}{wxregioniterator}
471\item \helpref{wxRegion}{wxregion}
472\item \helpref{wxSashEvent}{wxsashevent}
473\item \helpref{wxSashLayoutWindow}{wxsashlayoutwindow}
474\item \helpref{wxSashWindow}{wxsashwindow}
475\item \helpref{wxScreenDC}{wxscreendc}
476\item \helpref{wxScrollBar}{wxscrollbar}
477\item \helpref{wxScrollEvent}{wxscrollevent}
478\item \helpref{wxScrolledWindow}{wxscrolledwindow}
76e1c2de 479\item \helpref{wxScrollWinEvent}{wxscrollwinevent}
fd34e3a5 480\item wxShowEvent
06d20283
RD
481\item \helpref{wxSingleChoiceDialog}{wxsinglechoicedialog}
482\item \helpref{wxSizeEvent}{wxsizeevent}
483\item \helpref{wxSize}{wxsize}
86e78222 484\item \helpref{wxSizer}{wxsizer}
76e1c2de 485\item wxSizerItem
06d20283
RD
486\item \helpref{wxSlider}{wxslider}
487\item \helpref{wxSpinButton}{wxspinbutton}
fd34e3a5 488\item wxSpinEvent
06d20283
RD
489\item \helpref{wxSplitterWindow}{wxsplitterwindow}
490\item \helpref{wxStaticBitmap}{wxstaticbitmap}
491\item \helpref{wxStaticBox}{wxstaticbox}
86e78222 492\item \helpref{wxStaticBoxSizer}{wxstaticboxsizer}
2233e5b8 493\item wxStaticLine
06d20283
RD
494\item \helpref{wxStaticText}{wxstatictext}
495\item \helpref{wxStatusBar}{wxstatusbar}
496\item \helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}
497\item \helpref{wxTaskBarIcon}{wxtaskbaricon}
498\item \helpref{wxTextCtrl}{wxtextctrl}
499\item \helpref{wxTextEntryDialog}{wxtextentrydialog}
500\item \helpref{wxTimer}{wxtimer}
fd34e3a5 501\item wxToolBarTool
06d20283 502\item \helpref{wxToolBar}{wxtoolbar}
fd34e3a5 503\item wxToolTip
06d20283
RD
504\item \helpref{wxTreeCtrl}{wxtreectrl}
505\item \helpref{wxTreeEvent}{wxtreeevent}
506\item \helpref{wxTreeItemData}{wxtreeitemdata}
fd34e3a5 507\item wxTreeItemId
06d20283 508\item \helpref{wxUpdateUIEvent}{wxupdateuievent}
76e1c2de 509\item \helpref{wxValidator}{wxvalidator}
06d20283
RD
510\item \helpref{wxWindowDC}{wxwindowdc}
511\item \helpref{wxWindow}{wxwindow}
76e1c2de
RD
512
513
514
06d20283
RD
515\end{itemize}
516
517%----------------------------------------------------------------------
518\section{Where to go for help}\label{wxphelp}
519
520Since wxPython is a blending of multiple technologies, help comes from
f899db6d 521multiple sources. See
06d20283
RD
522\urlref{http://alldunn.com/wxPython}{http://alldunn.com/wxPython} for details on
523various sources of help, but probably the best source is the
7e9a386e 524wxPython-users mail list. You can view the archive or subscribe by
06d20283
RD
525going to
526
527\urlref{http://starship.python.net/mailman/listinfo/wxpython-users}{http://starship.python.net/mailman/listinfo/wxpython-users}
528
529Or you can send mail directly to the list using this address:
530
531wxpython-users@starship.python.net
532