wxPython 2.8.11.0 release

R

Robin Dunn

Announcing
----------

The 2.8.11.0 release of wxPython is now available for download at
http://wxpython.org/download.php. This release adds Python 2.7 builds,
PySlices, new pubsub implementation, lots of updates to AGW, and lots
of bugs fixed. A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.

Source code is available as a tarball and a source RPM, as well as
binaries for Python 2.5, 2.6 and 2.7, for Windows and Mac, as well
some packages for various Linux distributions.



What is wxPython?
-----------------

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 that wraps the GUI components
of the popular wxWidgets cross platform library, which is written in
C++.

wxPython is a cross-platform toolkit. This means that the same program
will usually run on multiple platforms without modifications.
Currently supported platforms are 32-bit and 64-bit Microsoft Windows,
most Linux or other Unix-like systems using GTK2, and Mac OS X 10.4+.
In most cases the native widgets are used on each platform to provide
a 100% native look and feel for the application.



Changes in 2.8.11.0
-------------------

Lots of bug fixes in both wxWidgets and wxPython.

Added the context manager protocol methods to some wx classes so they
can be used with the new Python 'with' statement. (The with statement
is always available starting in Python 2.6, and can also be used in
Python 2.5 with a __future__ import statement.) There are several
wx classes where this is a natural fit, such as wx.BusyInfo. The
__enter__ and __exit__ methods have also been added to wx.Dialog where
it will do the dialog.Destroy() call for you. This means that you can
use code like this::

with MyDialog(self, foo, bar) as dlg:
if dlg.ShowModal() == wx.ID_OK:
# do something with dlg values

The list of wx classes that can now be used as context managers is:

* wx.Dialog
* wx.BusyInfo
* wx.BusyCursor
* wx.WindowDisabler
* wx.LogNull
* wx.DCTextColourChanger
* wx.DCPenChanger
* wx.DCBrushChanger
* wx.DCClipper

A new class has been added that is also a context manager, called
wx.FrozenWindow. It will freeze the window passed to it upon entry to
the context, and will thaw the window upon exit from the context.

Applied the final version of patch #10959 to the PyCrust code. It
adds many enhancements to the Py suite, inlcuding the ability to edit
blocks of code (called slices) as a whole before executing them, and
also the ability to execute some simple shell commands.

Replaced the wx.lib.pubsub module with the new pubsub package from
http://pubsub.sf.net. By default it is backwards compatible with the
old pubsub module, but it also has a more advanced API available that
can be switched on at import time. See the pubsub web site for more
details.

The wx.Effects class is deprecated.

Added Python 2.7 builds for Windows and Mac.

Added Debian package builds for Ubuntu 9.10 and 10.4.

Many fixes and enhancements for the wx.lib.agw pacakge, including the
addition of pybusyinfo, ribbon, ultimatelistctrl and zoombar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top