X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a98f98ac6f4422f259fc3324975156f7554adf41..21f60945831a6edad0f2101b6053a2c8213d5296:/docs/latex/wx/wxPython.tex diff --git a/docs/latex/wx/wxPython.tex b/docs/latex/wx/wxPython.tex index efba33ab20..7b0fd6b027 100644 --- a/docs/latex/wx/wxPython.tex +++ b/docs/latex/wx/wxPython.tex @@ -1,12 +1,11 @@ -\chapter{wxPython Notes}\label{wxPython} +\section{wxPython overview}\label{wxpython} +%\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% +%\setfooter{\thepage}{}{}{}{}{\thepage}% -\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}% -\setfooter{\thepage}{}{}{}{}{\thepage}% - -This addendum is written by Robin Dunn, author of the wxPython wrapper +This topic was written by Robin Dunn, author of the wxPython wrapper. %---------------------------------------------------------------------- -\section{What is wxPython?}\label{wxpwhat} +\subsection{What is wxPython?}\label{wxpwhat} wxPython is a blending of the wxWindows GUI classes and the \urlref{Python}{http://www.python.org/} programming language. @@ -35,12 +34,12 @@ wxPython is a Python package that can be imported at runtime that includes a collection of Python modules and an extension module (native code). It provides a series of Python classes that mirror (or shadow) many of the wxWindows GUI classes. This extension module -attempts to mirror the class heirarchy of wxWindows as closely as +attempts to mirror the class hierarchy of wxWindows as closely as possible. This means that there is a wxFrame class in wxPython that looks, smells, tastes and acts almost the same as the wxFrame class in the C++ version. -wxPython is very versitile. It can be used to create standalone GUI +wxPython is very versatile. It can be used to create standalone GUI applications, or in situations where Python is embedded in a C++ application as an internal scripting or macro language. @@ -50,11 +49,11 @@ website \urlref{http://wxPython.org/}{http://wxPython.org/} for details about getting wxPython working for you. %---------------------------------------------------------------------- -\section{Why use wxPython?}\label{wxpwhy} +\subsection{Why use wxPython?}\label{wxpwhy} So why would you want to use wxPython over just C++ and wxWindows? Personally I prefer using Python for everything. I only use C++ when I -absolutely have to eek more performance out of an algorithm, and even +absolutely have to eke more performance out of an algorithm, and even then I usually code it as an extension module and leave the majority of the program in Python. @@ -67,13 +66,13 @@ days or longer with C++. Converting a wxPython app to a C++/wxWindows app should be a straight forward task. %---------------------------------------------------------------------- -\section{Other Python GUIs}\label{wxpother} +\subsection{Other Python GUIs}\label{wxpother} There are other GUI solutions out there for Python. \wxheading{Tkinter} -Tkinter is the defacto standard GUI for Python. It is available +Tkinter is the de facto standard GUI for Python. It is available on nearly every platform that Python and Tcl/TK are. Why Tcl/Tk? Well because Tkinter is just a wrapper around Tcl's GUI toolkit, Tk. This has its upsides and its downsides... @@ -116,9 +115,8 @@ wrappers around some C or C++ toolkit or another, and most are not cross-platform compatible. See \urlref{this link}{http://www.python.org/download/Contributed.html\#Graphics} for a listing of a few of them. - %---------------------------------------------------------------------- -\section{Using wxPython}\label{wxpusing} +\subsection{Using wxPython}\label{wxpusing} \wxheading{First things first...} @@ -268,7 +266,7 @@ level windows are closed. \end{enumerate} %---------------------------------------------------------------------- -\section{wxWindows classes implemented in wxPython}\label{wxpclasses} +\subsection{wxWindows classes implemented in wxPython}\label{wxpclasses} The following classes are supported in wxPython. Most provide nearly full implementations of the public interfaces specified in the C++ @@ -465,7 +463,7 @@ as possible to the C++ spec over time. \end{itemize} %---------------------------------------------------------------------- -\section{Where to go for help}\label{wxphelp} +\subsection{Where to go for help}\label{wxphelp} Since wxPython is a blending of multiple technologies, help comes from multiple sources. See @@ -474,10 +472,9 @@ various sources of help, but probably the best source is the wxPython-users mail list. You can view the archive or subscribe by going to -\urlref{http://lists.sourceforge.net/mailman/listinfo/wxpython-users}{http://lists.sourceforge.net/mailman/listinfo/wxpython-users} +\urlref{http://lists.wxwindows.org/mailman/listinfo/wxpython-users}{http://lists.wxwindows.org/mailman/listinfo/wxpython-users} Or you can send mail directly to the list using this address: -wxpython-users@lists.sourceforge.net - +wxpython-users@lists.wxwindows.org