wxPython is a blending of the wxWidgets C++ class library with the Python programming language.
wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWidgets cross platform GUI library, which is written in C++.
Like Python and wxWidgets, wxPython is Open Source which means that it is free for anyone to use and the source code is available for anyone to look at and modify. Or anyone can contribute fixes or enhancements to the project.
wxPython is a cross-platform toolkit. This means that the same program will run on multiple platforms without modification. Currently supported platforms are 32-bit Microsoft Windows, most Unix or unix-like systems, and Macintosh OS X.
· The first thing you'll need are the glib and gtk+ libraries. Before you run off and download the sources check your system, you probably already have it. Most distributions of Linux come with it and you'll start seeing it on many other systems too now that Sun and others have chosen GNOME as the desktop of choice. If you don't have glib and gtk+ already, you can get the sources here. Build and install them following the directions included.
· In order to use the wxGLCanvas you'll need to have either OpenGL or the Mesa3D library on your system. wxPython's wx.glcanvas.GLCanvas only provides the GL Context and a wx.Window to put it in, so you will also need the PyOpenGL Python extension modules as well, if you want to use OpenGL.
What's New in This Release: [ read full changelog ]
· wx.grid.Grid: Added methods CalcRowLabelsExposed, CalcColLabelsExposed, CalcCellsExposed, DrawRowLabels, DrawRowLabel, DrawColLabels, and DrawColLabel to the Grid class.
· Added the wx.lib.mixins.gridlabelrenderer module. It enables the use of label renderers for Grids that work like the cell renderers do. See the demo for a simple sample.
· Solved the manifests problem with Python 2.6 on Windows. wxPython now programatically creates its own activation context and loads a manifest in that context that specifies the use of the themable common controls on Windows XP and beyond. This also means that the external manifest files are no longer needed for the other versions of Python.
· wx.Colour: Updated the wx.Colour typemaps and also the wx.NamedColour constructor to optionally allow an alpha value to be passed in the color string, using these syntaxes: "#RRGGBBAA" or "ColourName:AA"
· wx.lib.wxcairo: Fixed a problem resulting from PyCairo changing the layout of their C API structure in a non-binary compatible way. The new wx.lib.wxcairo is known to now work with PyCairo 1.6.4 and 1.8.4, and new binaries for Windows are available online.