ANNOUNCE: wxPython 2.8.12.0

2011-04-19 Thread Robin Dunn

Announcing
--

The 2.8.12.0 release of wxPython is now available for download at
http://wxpython.org/download.php. This release has no major new
features or enhancements, but there have been plenty of bug fixes
since the last stable release.

Source code is available as a tarball, and binaries are also available
for Python 2.6 and 2.7, for Windows and Mac, as well some packages for
various Linux distributions in the wx apt repository.  Binaries for
Python 2.5 have been discontinued.



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.


--
Robin Dunn
Software Craftsman
http://wxPython.org

--
http://mail.python.org/mailman/listinfo/python-list


ANNOUNCE: wxPython 2.5.4.1

2005-03-16 Thread Robin Dunn
.themed-background to 0.
wxSyledTextCtrl updated to use Scintilla 1.62.
Can now set the msw.window.no-clip-children system option to 1 to
eliminate weird refresh behaviour (delays between a window being
erased and repainted, giving a ghostly gradual-redraw effect). May be
a temporary 'fix' until properly fixed before 2.6.
wxMac:  Toolbar is now more native looking with borderless toolbar
buttons.
wxMac: Switched wx.Bitmap to use newer Quartz object types and APIs
internally.  This results in faster display and better alpha support.
Added wx.DatePickerCtrl.
wx.html.HtmlWindow now supports background images.
Added wx.lib.gestures module from Daniel Pozmanter which supports
using Mouse Gestures in an application.
wxGTK2: ENTER and LEAVE mouse events are now sent for multi-line text
controls.
wxMSW:  "Alt" key (VK_MENU) now results in WXK_ALT keyboard event, not
WXK_MENU
Added modules from Peter Yared and Morgan Hua that implement the wx
Doc/View framework in pure Python code.  See wx.lib.docview for the
base implementation and wx.lib.pydocview for Python-specific
extensions.  There are also a couple sample applications located in
samples/docview.
Added GetBitmap, GetIcon to wx.ImageList.
wxGTK wx.Button.SetLabel no longer invalidates/resets the font.
wx.Sizer.AddWindow, AddSizer, AddSpacer and etc. have now been
undeprecated at the request of Riaan Booysen, the Boa Constructor team
lead.  Boa needs them to help keep track of what kind of item is being
managed by the sizer.  They are now just simple compatibility aliases
for Add, and etc.
The old C++ version of the OGL lib is no longer built by default.  Use
the Python version in the wx.lib.ogl package instead.
The wx.iewin module is no longer built by default.  You can use the
wx.lib.iewin version instead.
Fixed wx.BufferedPaintDC for scrolled windows to work whether the
buffer is covering only the client area or the full virtual area of
the scrolled window.  By default it will assume that only the client
area is covered.  This is different than the old behavior so to
indicate that the entire virtual area is covered simply add a
style=wx.BUFFER_VIRTUAL_AREA parameter.
wx.gizmos.TreeListCtrl:  Add support for the EVT_TREE_ITEM_GETTOOLTIP
event.
Added Resize, SetRGBRect, Size, and GetOrFindMaskColour methods to
wx.Image.
Added wx.Rect.IsEmpty
wxGTK:
- Corrected wx.ListBox selection handling
- Corrected default button size handling for different themes
- Corrected splitter sash size and look for different themes
- Fixed keyboard input for dead-keys
--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!
--
http://mail.python.org/mailman/listinfo/python-list


ANNOUNCE: wxPython 2.5.5.1

2005-04-08 Thread Robin Dunn
Announcing
--
I'm pleased to announce the 2.5.5.1 release of wxPython, now available
for download at http://wxpython.org/download.php.  This is mostly a
bug-fix release, but there are a few new features as well.  See the
changes list below for details.
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 Microsoft Windows, most Linux
or other Unix-like systems using GTK or GTK2, and Apple Macintosh OS
X.
Changes in 2.5.5.1
--
wxMSW: Fixed bug #1022383, 'several ComboBoxes appear selected'
wx.grid.Grid: Fixed bug #1163384.  Moved the code that handles
activating the cell editors to a EVT_CHAR event handler.  This is done
so the character inserted into the editor will be the "cooked" char
value (including accented or composed keys) rather than the raw code
provided by the EVT_KEY_DOWN event.
Added orient parameter to wx.MDIParentFrame.Tile()
wxMSW: wxTextCtrl with wx.TE_RICH2 style now uses RichEdit 4.1 if
available.
Added GetCount, GetCountRGB, and GetCountColour methods to
wx.ImageHistogram.
wxMSW: wx.Window.Refresh changed to explicitly refresh all children as
well as the parent.  Previously it was implicitly done because parents
did not clip their children by default.  Now that they always clip
children then Refresh needed to be fixed to do a recursive refresh.
This also fixes the Freeze/Thaw problems that some people had with
2.5.4.1.
wx.SplitterWindow: Send EVT_SPLITTER_SASH_POS_CHANGED only once after
end of dragging and not after each CHANGING event (modified patch
#1076226)
wx.glcanvas.GLCanvas: applied patch fixing problems with X server
crash when using nVidia cards (patch 1155132)
wx.lib.mixins.listctrl: Patches from Toni Brkic:
   * Bugfix for TextEditMixin when the view can't be scrolled
   * Enhancement for ListCtrlAutoWidthMixin, allowing it to manage
 the width of any column.
wxMac: removal and reusing toolbar tools like the other platforms is
now possible.
wxMac: Correct radio tool selection after calling Realize a 2nd time.
wxMSW: Applied patch #1166587, removes all flicker from wx.StaticBox
Added wx.lib.foldpanelbar, Andrea Gavana's port of Jorgen Bodde's C++
wxFoldPanelBar classes to Python.
wxGTK: Applied patch #1173802, reimplementation of GtkFileChooser
wxFileDialog by Mart Raudsepp.  Note that this new file dialog is only
used on GTK2 >= 2.4.  For earlier GTK2 versions and GTK1 then the
older generic file dialog is used.
wxMSW: fixes to static box borders calculations (finalizes patch
#1166587)
wx.Image: Use Python's buffer interface API for all image data and
alpha Set/Get methods and the ImageFromData* constructors.  They all
still copy the buffer except for SetDataBuffer and SetAlphaBuffer, but
this gives more flexibility on where the data can come from.
Added MDI support to XRC
Added wx.animate module and a demo.  The wx.animate module provides a
control that is able to display an animated GIF file.
wx.lib.plot.py: Applied patch from Werner F. Bruhin that allows either
vertical and/or horizontal gridlines.
wxMSW: Extra space given for top border of wx.StaticBoxSizer so the
upper line is not cliped when there is no label.
wxMSW: Restored old behaviour of wx.StaticBox.SetBackgroundColour only
affecting the label.
wxMSW: Fixed missing EVT_RIGHT_DOWN and EVT_TREE_ITEM_RIGHT_CLICK
events in a wx.TreeCtrl.
Added wx.GetTopLevelWindows() function which returns a copy of the
list of top-level windows that currently exist in the application.
Updated docview library modules and sample apps from the ActiveGrid
folks.
Added the ActiveGrid IDE as a sample application.
--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!
--
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.6.0.0

2005-04-26 Thread Robin Dunn
Announcing
--
I'm pleased to announce the 2.6.0.0 release of wxPython, now available
for download at http://wxpython.org/download.php.  This release
consists of one more round of stabalization work (bug fixes and such)
since the 2.5 series, and a few minor new features.  This first 2.6
release marks the begining of a new stable release series, which for
Python means that there will be no API compatibility breakage for the
life of the series.  (It means more than that for the core C++ code,
see http://wiki.wxpython.org/index.cgi/ReleaseSeries) See the changes
list below for details.
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 Microsoft Windows, most Linux
or other Unix-like systems using GTK or GTK2, and Mac OS X.
Changes in 2.6.0.0
--
wxMSW: Fixed wx.TransientPopupWindow (and therefore wx.TipWindow) to
auto-dismiss when the mouse is clicked outside of the popup like it is
supposed to.
wxMSW: Fixed bug #1167891 wx.Notebook display problem with wx.NB_MULTILINE.
wxMSW: Fixed bad cliping of hidden windows inside of wx.StaticBox.
wxGTK:  The configure flags for selecting GTK+ 1.2.x or 2.x has
changed slightly.  It is now --with-gtk[=VERSION] where VERSION is
either '1', '2' or 'any'.  The default is '2'.
wx.stc.StyledTextCtrl: Added the following methods for alternate ways
to set and fetch text from the document buffer.  They work similarly
to the existing methods of the same name, except that they don't go
through the same string/unicode <--> wxString conversions.  The "Raw"
methods will do no conversions at all and in a unicode build of
wxPython the strings will be in the utf-8 encoding and in an ansi
build no assumption is made about the encoding.  The "UTF8" functions
will attempt to always get/set utf-8 text, which it will always be
able to do in a unicode build, and in an ansi build it will depend on
the content of the utf-8 used being compatible with the current
encoding, (you'll get an exception otherwise.)
  ===  
  AddTextRaw   AddTextUTF8
  InsertTextRawInsertTextUTF8
  GetCurLineRawGetCurLineUTF8
  GetLineRaw   GetLineUTF8
  GetSelectedTextRaw   GetSelectedTextUTF8
  GetTextRangeRaw  GetTextRangeUTF8
  SetTextRaw   SetTextUTF8
  GetTextRaw   GetTextUTF8
  AppendTextRawAppendTextUTF8
  ===  
wx.stc.StyledTextCtrl:  Added the StyleSetFontEncoding(style, enc)
method that allows you to set the encoding to be used by the font for
a particular style.
wxMac: Fixed wx.ComboBox to forward the EVT_CHAR, EVT_KEY_DOWN,
EVT_KEY_UP and EVT_TEXT events from its embedded text control.
wxMac: Corrected refresh bugs in wxGrid.
XRCed: Updated to version 0.1.5.
* Added wxWizard, wxWizardPageSimple (only from pull-down menu).
* Hide command for test window.
* Replacing classes works better.
* Added Locate tool.

--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!
--
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.6.2.1

2006-01-10 Thread Robin Dunn
Announcing
--

The 2.6.2.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  There have been many enhancements
and fixes implemented in this version, listed below and at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.2+, in most
cases the native widgets are used on each platform.


Changes in 2.6.2.1
--

wxMSW: Fix for bug #1211907, popup menu indenting inconsistent with
bitmaps.

wxMac: Don't send an event for wx.RadioButton deselections, just the
selections.  This was done to make it consistent with the other
platforms.

wxMSW: Always set flat toolbar style, even under XP with themes: this
is necessary or separators aren't shown at all.

Fixes for bug #1217872, pydocview.DocService not correctly initialized.

Fix for bug #1217874, Error in parameter name in DocManager.CreateView.

Added wrappers for the wx.RendererNative class.

Added the wx.lib.splitter module, which contains the
MultiSplitterWindow class.  This class is much like the standard
wx.SplitterWindow class, except it allows more than one split, so it
can manage more than two child windows.

Docview and IDE patch from Morgan Hua with fix for bug #1217890
"Closing view crashes Python" plus some new features::

 New feature added to the IDE is 'Extensions'.  Under
 Tools|Options|Extensions, you can add calls to external programs.
 For example you can add a "Notepad" extension (under windows) that
 will exec Notepad on the currently open file.  A new "Notepad"
 menu item will appear under the Tools menu.

Some fixes to XRCed to make encoding errors a bit more user friendly.

XRCed changes from Roman Rolinsky:

 * Added new controls (Choicebook, Listbook, StatusBar,
   DatePicker), and completed style flags. Test window is opened
   for an available parent control if no specific view
   defined. Better handling of exceptions (highlighting does not
   'stick' anymore).

 * Use system clipboard for Copy/Paste.

 * Improved some dialogs (window styles, growable cols). Changed
   the range for wxSpinCtrl min/max to all integers (default 0/100
   is not always good).

Updates for wx.lib.foldpanelbar and wx.lib.hyperlink from Andrea
Gavana.

Fix for Bug #1283496: wxPython TheClipboard class causes problems for
pychecker.  Ensure the app has been created before initializing
wx.TheClipboard.

Fix for Bug #1352602: FileBrowseButtonWithHistory can't type in Value.

wxHTML: Added space after list item number.

wx.lib.printout:  Applied patch #1384440.

wxMSW:  Fix for Bug #1293225 Window_FromHWND crashes if parent is
None.

Fix for Bug #1261669, use a wx.TE_RICH2 style for the Process demo so
it doesn't fill up too soon.

Applied Patch #1354389: wxPython MenuItem SetBitmaps fix.

Applied Patch #1239456: wxPython wx.DataObject.GetAllFormats fix.

Applied Patch # #1230107 which allows image handlers to be written in
Python by deriving from wx.PyImageHandler.

Applied patch #1072210: generalize printout.py to allow text printing.

Applied patch #1243907: Give Throbber much more flexibility by
allowing the user to set the rest image, the direction, the current
index, custom sequence.  Allows user to manually step through the
sequence with Next(), Previous(), Increment(), Decrement() &
SetCurrent(). Very handy if you have multiple throbbers that you want
to synchronize with a single timer.

Fix for bug #1336711: wx.lib.calendar.CalenDlg can yield incorrect
result.

Applied patch from Morgan Hua for updates to ActiveGrid code
(pydocview, ActiveGrid IDE, etc.)

Applied patch #1326241: Supporting "setup.py install --install-headers=path"

Applied patch from Morgan Hua to fix bug #1219423: CommandManager
should not repeat old commands after a branch.

Applied patch #1238825 adding search backward capabilities to the
demo.  Modified to use the up/down options in the wx.FindReplaceDialog
instead of a separate menu item.

Fix for bug #1266745 and #1387725 in the wx.FindReplaceDialog on MSW.
Actually check we are using MSLU before doing the hack designed to
workaround a bug in MSLU!

wxMSW: wx.lib.iewin.IEHtmlWindow now properly handles tabbing, return
and other special keys properly.

Lots of PyCrust enhancments started by Franz Steinaeusler, Adi Sieker,
and Sebastian Haase, and which in turn were further enhanced, fixed
tweaked and fi

ANN: wxPython 2.6.3.3

2006-07-16 Thread Robin Dunn
Announcing
--

The 2.6.3.3 release of wxPython is now available for download at
http://wxpython.org/download.php.  This is a mostly bug fix release
and also includes builds for Python 2.5 on Mac and also Windows.  A
summary of other changes is listed below and at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.2+, in most
cases the native widgets are used on each platform.


Changes in 2.6.3.3
--

wx.lib.pubsub updates from Oliver Schoenborn:
 - fixed the hash problem with non-hashable objects
 - now supports listeners that use \*args as an argument
   (listener(\*args) was not passing the validity test)
 - corrected some mistakes in documentation
 - added some clarifications (hopefully useful for first time
   users)
 - changed the way singleton is implemented since old way prevented
   pydoc etc from extracting docs for Publisher

DocView and ActiveGrid IDE updates from Morgan Hua:
 New Features: In Tab-View mode, Ctrl-number will take the user to
 the numbered tab view.  Modified files now show an '*' astrisk in
 the view title.  Debugger framework can now support PHP debugging.
 Not important for python development, but at least that means the
 debugger framework is more generalized.

wx.lib.mixins.listctrl.TextEditMixin: Fixed the double END_LABEL_EDIT
event problem in TextEditMixin by checking if the editor was already
hidden before continuing with the CloseEditor method.  Also added code
to OpenEditor to send the BEGIN_LABEL_EDIT event and to not allow the
opening of the editor to continue if the event handler doesn't allow
it.

Undeprecated wx.GetNumberFromUser and added wx.NumberEntryDialog.

Made necessaary changes for building wxPython for Python 2.5.  There
may still be some issues related to the new Py_ssize_t type and 64-bit
machines, but at least all compile errors and warnings related to it
have been resolved.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.7.1.1 released

2006-10-19 Thread Robin Dunn
t;Get" dropped.  For example, wx.Window has a
property named "Size" that maps to GetSize and SetSize.  So far there
is only one known name conflict using this naming convention, and that
is wx.KeyEvent.KeyCode, however since KeyCode was formerly a
compatibility alias for GetKeyCode (and has been for a long time) it
was decided to just switch it to a property.  If you want to use the
method then change your calls to event.KeyCode() to
event.GetKeyCode(), otherwise you can use it as a property just by
dropping the parentheses.

Updated the C++ code for wx.gizmos.TreeListCtrl from the wxCode
project.  This has resulted in some minor API changes, most of which
were worked around in the wrapper code.

Added wx.lib.delayedresult from Oliver Schoenborn.

Added wx.lib.expando, a multi-line textctrl that exands as more lines
are needed.

wx.Image.Scale and Rescale methods now take an extra parameter
specifying type of method to use for resampling the image.  It
defaults to the current behavior of just replicating pixels, if
wx.IMAGE_QUALITY_HIGH is passed then it uses bicubic and box averaging
resampling methods for upsampling and downsampling respectively.

Added the wx.lib.buttonpanel module, which is a tweaked version of
Andrea Gavana's FancyButtonPanel module.

Added the wx.lib.flatnotebook module, from Andrea Gavana.

Renamed wx.FutureCall to wx.CallLater so it is named more like
wx.CallAfter.  wx.FutureCall is now an empty subclass of wx.CallLater
for compatibility of older code.

Added the wx.lib.customtreectrl module from Andrea Gavana.

Added ChangeSelection to wx.BookCtrl (the base class for wx.Notebook
and other book controls) that is the same as SetSelection but doesn't
send the change events.

Added wx.TextCtrl.ChangeValue() which is the same as SetValue() but
doesn't send the text changed event.

For consistency, all classes having an Ok() method now also have
IsOk(), use of the latter form is preferred although the former hasn't
been deprecated yet

Added the wx.AboutBox() function and wx.AboutDialogInfo class.  They
provide a way to show a standard About box for the application, which
will either be a native dialog or a generic one depending on what info
is provided and if it can all be shown with the native dialog.

The code in the animate contrib has been moved into the code wxWidgets
library, and refactored a bit along the way.  For wxPython it still
exists in the wx.animate module, but has basically been reduced to two
classes, wx.animate.Animation, and wx.animate.AnimationCtrl.  You load
the animated GIF (and hopefully there will be other supported formats
in the near future) in the Animation object, and then give that to the
AnimatedCtrl for display.  See the demo for an example.  There is also
still a GIFAnimationCtrl class that provides some level of backwards
compatibility with the old implementation.

wxMac: The compile option that turns on the use of CoreGraphics (a.k.a
Quartz) for wxDC is now turned on by default.  This means that all
drawing via wxDC is done using the new APIs from apple, instead of the
old Quick Draw API.  There are, however, a few places where Quartz and
wxDC don't fit together very well, mainly the lack of support for
logical drawing operations such as XOR, but there is work in progress
to provide other ways to do the same sort of thing that will work with
Quartz and also on the other platforms.

The first parts of a new 2D drawing API has been added with the
wx.GraphicsPath and wx.GraphicsContext classes.  They wrap GDI+ on
Windows, Cairo on wxGTK and CoreGraphics on OS X.  They allow path-based
drawing with alpha-blending and anti-aliasing, and use a floating
point cooridnate system.  Currently they can only target drawing to
windows, but other wx.DC backends are forthcoming.  The APIs may
evolve a bit more before they are finalaized with the 2.8 release, but
there is enough there now to get a good feel for how things will work.
There is also a transitional wx.GCDC class that provides the wx.DC API
on top of wx.GraphicsContext.  Docs and a demo are still MIA.

Added a wx.AutoBufferedPaintDC that is a subclass of wx.PaintDC on
platforms that do double buffering by default, and a subclass of
wx.BufferedPaintDC on the platforms that don't.  You can use this
class to help avoid the overhead of buffering when it is not
needed. There is also a wx.AutoBufferedPaintDCFactory function that
does a little more and actually tests if the window has
double-buffering enabled and then decides whether to return a
wx.PaintDC or wx.BufferedPaintDC.  This uses the new
wx.Window.IsDoubleBuffered method.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.7.1.2 release

2006-10-22 Thread Robin Dunn
Announcing
--

The 2.7.1.2 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release is a quick-turnaround
bugfix release designed to solve some problems found in the 2.7.1.1
release. Source and binaries are available for both Python 2.4 and 2.5
for Windows and Mac, as well some pacakges for varous Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, in most
cases the native widgets are used on each platform.


Changes in 2.7.1.2
--

Fixed a bug in the MaskedEdit controls caused by conflicting IsEmpty
methods.

Patch #1579280: Some mimetype optimizations on unix-like systems.

wxMac: Several wx.webkit.WebKitCtrl enhancements/fixes, including:

 - new methods for increasing/decreasing text size, getting
   selection, getting/setting scroll position, printing, enabling
   editing, and running JavaScripts on the page.

 - added new event (wx.webkit.WebKitBeforeLoadEvent) for catching, and
   possibly vetoing, load events before they occur.

 - wx.webkit.WebKitCtrl now fires mouse events for certain events
   that it was eating before. This improves wxSplitterWindow
   resizing behavior.

 - refactoring of the sizing logic to move the Cocoa view.  Tested
   with splitter windows, panels, notebooks and all position
   correctly with this.

Some improvements to the drawing code in CustomTreeCtrl.

Fixed refcount leak in wx.Window.GetChildren.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.7.1.3

2006-10-26 Thread Robin Dunn
Announcing
--

The 2.7.1.3 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release is a yet another
quick-turnaround bugfix release designed to solve some problems, plust
some minor enhancements.  This will likely be the last 2.7.1.x
release.  Source and binaries are available for both Python 2.4 and
2.5 for Windows and Mac, as well some pacakges for varous Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, in most
cases the native widgets are used on each platform.


Changes in 2.7.1.3
--

wxGTK:  The wx.ALWAYS_SHOW_SB style is now supported.

Fixed name errors in the old wxPython package namespace.  As a
reminder, use of this package is deprecated and you are encouraged to
switch your programs over to the wx package.

Fixed wx.glcanvas.GLCanvas.SetCurrent to be compatible with prevoius
versons.

Added wx.StandardPaths.GetTmpDir.

Bug fixes in the wx.ListCtrl on Mac from Kevin Olivier, allowing it to
send events properly again.  There is also a new native implementation
of wx.ListCtrl available, which will be used for wx.LC_REPORT style
list controls if you set the "mac.listctrl.always_use_generic"
SystemOption to zero.  In a future release this will be the default.

Added a sample to the demo that shows some of what can be done with
the new wx.GraphicsContext and wx.GraphicsPath classes.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.7.2.0

2006-11-08 Thread Robin Dunn
Announcing
--

The 2.7.2.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  This is expected to be the last
stepping stone in the path to the next stable release series,
2.8.x. We're pushing full speed ahead in order to get 2.8.0 included
with OSX 10.5, and so far we are very close to being on schedule. This
release has some house-keeping style changes, as well as some
user-contributed patches and also the usual crop of bug fixes.  Source
and binaries are available for both Python 2.4 and 2.5 for Windows and
Mac, as well some pacakges for varous Linux distributions.  A summary
of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, in most
cases the native widgets are used on each platform.


Changes in 2.7.2.0
--

Patch [ 1583183 ] Fixes printing/print preview inconsistencies

Add events API to wxHtmlWindow (patch #1504493 by Francesco Montorsi)

Added wxTB_RIGHT style for right-aligned toolbars (Igor Korot)

Added New Zealand NZST and NZDT timezone support to wx.DateTime.

wx.Window.GetAdjustedBestSize is deprecated.  In every conceivable
scenario GetEffectiveMinSize is probably what you want to use instead.

wx.Image: Gained support for TGA image file format.

wx.aui: The classes in the wx.aui module have been renamed to be more
consistent with each other, and make it easier to recognize in the
docs and etc. that they belong together.

 FrameManager -->   AuiManager
 FrameManagerEvent -->  AuiManagerEvent
 PaneInfo -->   AuiPaneInfo
 FloatingPane -->   AuiFloatingPane
 DockArt -->AuiDockArt
 TabArt --> AuiTabArt
 AuiMultiNotebook -->   AuiNotebook
 AuiNotebookEvent -->   AuiNotebookEvent

wx.lib.customtreectrl: A patch from Frame Niessink which adds an
additional style (TR_AUTO_CHECK_PARENT) that (un)checks a parent when
all children are (un)checked.

wx.animate.AnimationCtrl fixed to display inactive bitmap at start
(patch 1590192)

Patch from Dj Gilcrease adding the FNB_HIDE_ON_SINGLE_TAB style flag
for wx.lib.flatnotebook.

wx.Window.GetBestFittingSize has been renamed to GetEffectiveMinSize.
SetBestFittingSize has been renamed to SetInitialSize, since it is
most often used only to set the initial (and minimal) size of a
widget.

The QuickTime backend for wx.media.MediaCtrl on MS Windows works
again.  Just pass szBackend=wx.media.MEDIABACKEND_QUICKTIME to the
constructor to use it instead of the default ActiveMovie backend,
(assuming the quicktime DLLs are available on the system.)

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: wxPython 2.7.2.0

2006-11-08 Thread Robin Dunn
Kenneth Long wrote:
> Is there a new version of Demo Docs released also?
> 
> I get this error from Sourceforge after clicking on
> the  link at wxPython page.
> 
> Could not read file.
> 
> Go back.
> /home/ftp/pub/sourceforge//w/wx/wxpython/wxPython2.7-win32-docs-demos-2.7.2.0.exe

Looks like there was an error when building that installer file.  I'll 
get it fixed and upload it again soon.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.0.1

2006-12-12 Thread Robin Dunn

Announcing
--

The 2.8.0.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  This is the first of the new stable
2.8.x release series and is the culmination of the massive enhancement
and stabalization effort done in the 2.7.x series.  Source code is
available, as well as binaries for both Python 2.4 and 2.5, for
Windows and Mac, as well some pacakges for various Linux distributions.
A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, 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.0.1
--

Lots of fixes and updates to the AUI classes.

Added wx.CollapsiblePane.  On wxGTK it uses a native expander widget,
on the other platforms a regular button is used to control the
collapsed/expanded state.

Added the wx.combo module, which contains the ComboCtrl and ComboPopup
classes.  These classes allow you to implement a wx.ComboBox-like
widget where the popup can be nearly any kind of widget, and where you
have a lot of control over other aspects of the combo widget as well.
It works very well on GTK and MSW, using native renderers for drawing
the combo button, but is unfortunatly still a bit klunky on OSX...

Use system default paper size for printing instead of A4 by default.

Added wx.combo.OwnerDrawnComboBox, which is a ComboCtrl that delegates
the drawing of the items in the popup and in the control itself to
overridden methods of a derived class, similarly to how wx.VListBox
works.

Added wx.combo.BitmapComboBox which is a combobox that displays a
bitmap in front of the list items.

Added the wx.lib.mixins.inspect module.  It contains the InspectMixin
class which can be mixed with a wx.App class and provides a PyCrust
window that can be activated with a Ctrl-Alt-I keystroke (or Cmd-Alt-I
on the Mac.)

Added some modules from Riaan Booysen:

 * wx.lib.flagart:  contains icons of the flags of many countries.

 * wx.lib.art.img2pyartprov: makes images embedded in a python file
   with img2py available via the wx.ArtProvider.

 * wx.lib.langlistctrl: A wx.ListCtrl for selecting a language,
   which uses the country flag icons.

 * An I18N sample for the demo.

wx.lib.masked: Patch from Will Sadkin.  Includes Unicode fixes, plus
more helpful exceptions and ability to designate fields in mask
without intervening fixed characters.

Added wx.SearchCtrl, which is a composite of a wx.TextCtrl with optional
bitmap buttons and a drop-down menu.  Controls like this can typically
be found on a toolbar of applications that support some form of search
functionality.  On the Mac this control is implemented using the
native HISearchField control, on the other platforms a generic control
is used, although that may change in the future as more platforms
introduce native search widgets.

Added a set of button classes to wx.lib.buttons from David Hughes that
uses the native renderer to draw the button.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.6.0.1

2005-05-30 Thread Robin Dunn
as well.

wxGTK: Setting background colour of a window now only affects the
window itself, not the borders, scrollbars, etc.  (Bug #1204069)

Print framework:  Add more paper sizes and code to fallback to an
explicit paper size if a known paper size is not found for the
printer.

wxMac: Applied patch for bug #1206181 Option-key decodes are wrong,
also applied patch for bug #1205691 Modified Fn keys don't work.

wx.Image: Fixed to preserve alpha channel in Rotate90 method.

wxMSW: Fixed incorrect background colour on wx.CheckListBox.

wxMSW: Fixed drawing of owner drawn buttons with multiline labels

Removed a bunch of unnecessary files, and removed or replaced images
that we're not sure of their origin or license.

The default DoGetBestSize is updated to not always return the current
size if the window has no sizer, children, or minsize set.  Instead
the current size is set as the minsize.  This solves the occasional
problem where a sizer may cause a childless panel to grow but never
shrink.

wxMSW: When converting a wx.Icon to a bitmap check if the icon has an
alpha channel and set the bitmap to use it.

Fixed the wrong class name used in wx.PyScrolledWindow's call to
_setCallbackInfo.

wxMSW: patch #1207202, Fixes GDI leak when using stock cursors.

wx.calendar.CalendarCtrl: Patch #1207531, Keeps the CalendarCtrl wide
enough even when the weekday names for the locale are shorter than
usual.

Made GridCellNumberEditor.StartingKey also insert the typed char when
there is a range of allowed values (so a wx.SpinCtrl is used instead
of a wx.TextCtrl.)



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


[no subject]

2005-06-04 Thread Robin Dunn

Announcing
--

The 2.6.1.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  Anybody keeping track will probably
notice that the prior release (2.6.0.1) was released just about a week
ago.  This short turn-around time is because I was slow getting the
last release done, and the wxWidgets team was uncharacteristically
early with the 2.6.1 release!  This release consists of a few bug
fixes made since 2.6.0.1.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK or GTK2, and Mac OS X.


Changes in 2.6.1.0
--

wx.ListCtrl: patch #1210352, fixes editing in generic wx.ListCtrl with
wx.LC_EDIT_LABELS.

Applied patch #208286, MediaCtrl DirectShow rewrite.

DocView patches from Morgan Hua: bug fixes, and additional SVN
commands, also added a default template that uses the text editor for
any unknown file type.

wxMSW: Use the system IDC_HAND cursor for wx.CURSOR_HAND and only fallback
to the strange wxWidgets version if the system one is not available.

wx.grid.Grid: Merge the cell size attribute the same way that other
attributes are merged, e.g., if it is already set to a non-default
value in the current GridCellAttr object then don't merge from the
other.

wx.lib.evtmgr: Fixed to use wx._core._wxPyDeadObject

wx.lib.gridmovers: Don't scroll when the mouse is dragged outside of
the grid, unless the mouse is kept in motion.

wxMSW:  Applied patch #1213290 incorrect logic in
wx.TopLevelWindow.ShowFullScreen.

Applied patch #1213066 correct device names for Joystick in Linux.

wxGTK: Applied patch #1207162 wx.TextCtrl.SetStyle fix for overlapping
calls.

wx.FileConfig: fixed DeleteEntry to set the dirty flag properly so the
change will get written at the next flush.



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.6.1.0

2005-06-04 Thread Robin Dunn

Announcing
--

The 2.6.1.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  Anybody keeping track will probably
notice that the prior release (2.6.0.1) was released just about a week
ago.  This short turn-around time is because I was slow getting the
last release done, and the wxWidgets team was uncharacteristically
early with the 2.6.1 release!  This release consists of a few bug
fixes made since 2.6.0.1.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK or GTK2, and Mac OS X.


Changes in 2.6.1.0
--

wx.ListCtrl: patch #1210352, fixes editing in generic wx.ListCtrl with
wx.LC_EDIT_LABELS.

Applied patch #208286, MediaCtrl DirectShow rewrite.

DocView patches from Morgan Hua: bug fixes, and additional SVN
commands, also added a default template that uses the text editor for
any unknown file type.

wxMSW: Use the system IDC_HAND cursor for wx.CURSOR_HAND and only fallback
to the strange wxWidgets version if the system one is not available.

wx.grid.Grid: Merge the cell size attribute the same way that other
attributes are merged, e.g., if it is already set to a non-default
value in the current GridCellAttr object then don't merge from the
other.

wx.lib.evtmgr: Fixed to use wx._core._wxPyDeadObject

wx.lib.gridmovers: Don't scroll when the mouse is dragged outside of
the grid, unless the mouse is kept in motion.

wxMSW:  Applied patch #1213290 incorrect logic in
wx.TopLevelWindow.ShowFullScreen.

Applied patch #1213066 correct device names for Joystick in Linux.

wxGTK: Applied patch #1207162 wx.TextCtrl.SetStyle fix for overlapping
calls.

wx.FileConfig: fixed DeleteEntry to set the dirty flag properly so the
change will get written at the next flush.



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!


-- 
http://mail.python.org/mailman/listinfo/python-list


[no subject]

2007-05-15 Thread Robin Dunn
Announcing
--

The 2.8.4.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release includes a number of
bug fixes, updates to some contribs and other improvements.

Source code is available, as well as binaries for both Python 2.4 and
2.5, for Windows and Mac, as well some pacakges for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, 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.4.0
--

wxGTK: Make wx.NO_BORDER style work with wx.RadioBox (patch 1525406)

Update to 1.0 of TreeMixin.

wx.lib.customtreectrl: Patch from Andrea that fixes the following
problems/issues:

  * ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting
the selection rectangle;

  * Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;

  * Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;

  * Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;


wx.lib.flatnotebook: Patch from Andrea that implements the following:

  * A new style FNB_FF2: my intentions were to make it like Firefox 2,
however it turned out to be an hybrid between wxAUI notebook glose
style & FF2 ...I still think it looks OK. The main purpose for
making it more like wxAUI is to allow applications that uses both
to have same look and feel (or as close as it can get...);

  * Changed the behavior of the left/right rotation arrows to rotate
single tab at a time and not bulk of tabs;

  * Updated the demo module.

XRCed now uses a wx.FileHistory object for managing the recent files
menu.

wx.DateSpan and wx.TimeSpan now use lower case property names in order
to not conflict with the same named static methods that already
existed.

wx.aui.PyAuiDocArt and wx.aui.PyAuiTabArt can now be derived from in
wxPython and plugged in to wx.AUI.

XRCed has a new experimental feature to add controls by draging icons
from the tool palette to the test window. Mouse position is tracked
to highlight the future parent of the new item.

Updates to MaskedEdit controls from Will Sadkin:

   maskededit.py:
 Added parameter option stopFieldChangeIfInvalid, which can be used
 to relax the validation rules for a control, but make best efforts
 to stop navigation out of that field should its current value be
 invalid.  Note: this does not prevent the value from remaining
 invalid if focus for the control is lost, via mousing etc.

   numctrl.py, demo / MaskedNumCtrl.py:
 In response to user request, added limitOnFieldChange feature, so
 that out-of-bounds values can be temporarily added to the control,
 but should navigation be attempted out of an invalid field, it
 will not navigate, and if focus is lost on a control so limited
 with an invalid value, it will change the value to the nearest
 bound.

   combobox.py:
 Added handler for EVT_COMBOBOX to address apparently inconsistent
 behavior of control when the dropdown control is used to do a
 selection.

   textctrl.py
 Added support for ChangeValue() function, similar to that of the
 base control, added in wxPython 2.7.1.1.

Update to latest FloatCanvas from Chris Barker.

The pywxrc tool now properly supports generating classes for menus and
menubars, and also creating attributes for menus, menubars and menu
items.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.4.0

2007-05-15 Thread Robin Dunn
Announcing
--

The 2.8.4.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release includes a number of
bug fixes, updates to some contribs and other improvements.

Source code is available, as well as binaries for both Python 2.4 and
2.5, for Windows and Mac, as well some pacakges for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, 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.4.0
--

wxGTK: Make wx.NO_BORDER style work with wx.RadioBox (patch 1525406)

Update to 1.0 of TreeMixin.

wx.lib.customtreectrl: Patch from Andrea that fixes the following
problems/issues:

  * ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting
the selection rectangle;

  * Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;

  * Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;

  * Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;


wx.lib.flatnotebook: Patch from Andrea that implements the following:

  * A new style FNB_FF2: my intentions were to make it like Firefox 2,
however it turned out to be an hybrid between wxAUI notebook glose
style & FF2 ...I still think it looks OK. The main purpose for
making it more like wxAUI is to allow applications that uses both
to have same look and feel (or as close as it can get...);

  * Changed the behavior of the left/right rotation arrows to rotate
single tab at a time and not bulk of tabs;

  * Updated the demo module.

XRCed now uses a wx.FileHistory object for managing the recent files
menu.

wx.DateSpan and wx.TimeSpan now use lower case property names in order
to not conflict with the same named static methods that already
existed.

wx.aui.PyAuiDocArt and wx.aui.PyAuiTabArt can now be derived from in
wxPython and plugged in to wx.AUI.

XRCed has a new experimental feature to add controls by draging icons
from the tool palette to the test window. Mouse position is tracked
to highlight the future parent of the new item.

Updates to MaskedEdit controls from Will Sadkin:

   maskededit.py:
 Added parameter option stopFieldChangeIfInvalid, which can be used
 to relax the validation rules for a control, but make best efforts
 to stop navigation out of that field should its current value be
 invalid.  Note: this does not prevent the value from remaining
 invalid if focus for the control is lost, via mousing etc.

   numctrl.py, demo / MaskedNumCtrl.py:
 In response to user request, added limitOnFieldChange feature, so
 that out-of-bounds values can be temporarily added to the control,
 but should navigation be attempted out of an invalid field, it
 will not navigate, and if focus is lost on a control so limited
 with an invalid value, it will change the value to the nearest
 bound.

   combobox.py:
 Added handler for EVT_COMBOBOX to address apparently inconsistent
 behavior of control when the dropdown control is used to do a
 selection.

   textctrl.py
 Added support for ChangeValue() function, similar to that of the
 base control, added in wxPython 2.7.1.1.

Update to latest FloatCanvas from Chris Barker.

The pywxrc tool now properly supports generating classes for menus and
menubars, and also creating attributes for menus, menubars and menu
items.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!


-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.3.0

2007-03-23 Thread Robin Dunn
in wxSpinButton with repeated events).

   * Fix for dealing with empty 'growable' property, using MiniFrame
 for properties panel, the panel is restored together with the main
 window.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANNOUNCE: wxPython 2.8.6.0

2007-09-27 Thread Robin Dunn
Announcing
--

The 2.8.6.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release is mostly about fixing
a number of bugs and inconsistencies in wxWidgets and wxPython.

Source code is available, as well as binaries for Python 2.3, 2.4 and
2.5, for Windows and Mac, as well some pacakges for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, 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.6.0
--

This release is mostly about fixing a number of bugs and
inconsistencies in wxWidgets and wxPython.  In other words, there have
been a whole lot more changes than what is listed here, but they are
not new features or API visible changes, which is what are usually
listed in this file.

Some Menu APIs added to make things more consistent.  Added
wx.MenuBar.SetMenuLabel, wx.MenuBar.GetMenuLabel,
wx.MenuBar.GetMenuLabelText, wx.Menu.GetLabelText,
wx.MenuItem.SetItemLabel, wx.MenuItem.GetItemLabel,
wx.MenuItem.GetItemLabelText, wx.MenuItem.GetLabelText.  The
Get...Label functions get the raw label with mnemonics and
accelerators, and the Get...LabelText functions get the text only,
without mnemonics/accelerators.

Added wx.BORDER_THEME style.  This style will attempt to use a theme
specific style, if the current platform and environment is themeable
and has a specific theme style.  For example, you could use this on
Windows XP on a custom control to give it a themed border style that
looks like what is used by default on the native wx.TextCtrl or
wx.ListBox.  Since there were not any more available bits for border
styles, this style replaces wx.BORDER_DOUBLE.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANNOUNCE: wxPython 2.8.6.1

2007-10-28 Thread Robin Dunn

Announcing
--

The 2.8.6.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release has a number of
important bug fixes and is a general improvement of the 2.8.6.0
release.

Source code is available, as well as binaries for Python 2.3, 2.4 and
2.5, for Windows and Mac, as well some pacakges for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, 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.6.1
--

wxMac: Fixed paste bug when the clipboard contains unicode text.

AUI: Added missing event binders for the notebok tab events.

wxMac: Fixed bug that resulted in portions of virtual listctrl's to
not be repainted when scrolling with PgUp/PgDown/Home/End.

wxMac: Fixed bug that broke tab traversal when tabbing runs into a
wx.StaticBox.

wxGTK:  Add wx.Window.GetGtkWidget.

All: Undprecated wx.ListCtrl.[G|S]etItemSpacing

All: Fixed wx.Palette constructor wrapper.  It takes three seqences of
integers to specify the R, G, and B values for each color in the
palette, which must all be the same length and which must contain
integer values in the range of 0..255 inclusive.

Thanks to some grunt work from Edouard TISSERANT, wxPython now has the
needed tweaks in config.py to be able to be built with mingw32.  See
BUILD.txt for details.

Changes in wx.GraphicsContext to make things like the half-pixel
offsets more consistent across platforms.

wxMSW: If freezing a top-level window wxWidgets will actually freeze
the TLW's children instead.  This works around a feature of MS Windows
that allowed windows beneath the frozen one in Z-order to paint
through, and also mouse events clicking through to the lower window.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


[ANN] wxPython 2.8.1.1

2007-01-21 Thread Robin Dunn


Announcing
--

The 2.8.1.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release adds a few minor
enhancements and a number of bug fixes designed to further stabalize
the 2.8.x release series.

Source code is available, as well as binaries for both Python 2.4 and
2.5, for Windows and Mac, as well some pacakges for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, 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.1.1
--

wxMSW: Fix lack of spin control update event when control lost focus

Added a typeId property to the PyEventBinder class that holds the
eventType ID used for that event.  So when you need the eventType
(such as when sending your own instance of standard events) you can
use, for example, wx.EVT_BUTTON.typeId instead of
wx.wxEVT_COMMAND_BUTTON_CLICKED.   Note that there are a few composite
events, such as EVT_MOUSE and EVT_SCROLL, that will actually bind
multiple event types at once, and in these cases the typeId property
may not give you what you want.  You should use te component events in
these cases.

PyCrust now has an option for showing/hiding the notebook.

wxMSW:  Corrected drawing of bitmaps for disabled menu items.

Enhanced the wx.lib.mixins.inspect module.  In addition to showing a
PyCrust window it is now a widget browser, which provides a tree
loaded up with all the widgets in the app, optionally with the sizers
too, and also a panel displaying the properties of the selected
window.  Run the demo and type Ctrl-Alt-I keystroke (or Cmd-Alt-I on
the Mac) to see how it works.  You can add this to your own apps with
just a few lines of code.

Added wx.SearchCtrl.[Get|Set]DescriptiveText

wxMac: Added support for the wx.FRAME_FLOAT_ON_PARENT style.

wxMac: the popups used for call tips and autocomplete lists in
StyledTextCtrl (such as in PyShell) are now top-level float-on-parent
windows so they are no longer clipped by the bounds of the stc window.

Added EVT_TASKBAR_CLICK and use it to show taskbar icon menu on right
button release, not press, under MSW (bug 1623761)

Added wx.TreeCtrl.CollapseAll[Children]() and IsEmpty() methods

Fix wx.MDIChidFrame.GetPosition() (patch 1626610)

Fix attribute memory leak in wx.grid.Grid::ShowCellEditControl() (patch
1629949)

wxGTK: Fix for controls on a toolbar being the full height of the
toolbar instead of their natural height.

wx.lib.customtreectrl patches from Andrea Gavana.

wxMac: Applied patch #1622389, fixing two memory leaks in
GetPartialTextExtents.

More fixes for the native wx.ListCtrl on Mac.

Added wx.aui.AuiNotebook.GetAuiManager().

Added wx.aui.AuiMDIParentFrame and wx.aui.AuiMDIChildFrame, which
essentially implement the MDI interface using a normal wx.Frame and a
wx.aui.AuiNotebook.



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.7.1

2007-11-30 Thread Robin Dunn

Announcing
--

The 2.8.7.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release has had some bugs
fixed, some minor patches applied, and also incorporates the Google
Summer of Code 2007 version of XRCed, and adds the Editra source code
editor.

Source code is available, as well as binaries for Python 2.3, 2.4 and
2.5, for Windows and Mac, as well some packages for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.

NOTE: On Mac OS X 10.5 (Leopard) the Python 2.5 binaries of wxPython
expect to be used with the user-installed version of MacPython, not
the Apple installed version.  A fix for this issue is being worked on
for the next release.  In the meantime you can either install
MacPython 2.5.1 and adjust your paths so that that Python is used, or
you can stick with Apple's Python and the wxPython 2.8.4.0 that comes
with Leopard.



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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, 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.7.1
--

Applied Patch [ 1783958 ] to use the native renderer for drawing the
checkboxes in CheckListCtrlMixin.

Incorporated the new version of XRCed.  This is the result of a Google
Summer of Code 2007 project by Roman Rolinsky, and includes a number
of UI enhancements, as well as a mechanism for adding support for new
components without needing changes to XRCed itself.  These new
components can be those supported at the C++ layer of XRC, as well as
custom XRC handlers written in Python.  See
http://wiki.wxpython.org/XRCed_Refactoring_Project

wxMac: Fixed wx.BusyInfo so it doesn't steal the activated status
from the parent window.  (This actually applies to all frames with the
wx.FRAME_TOOL_WINDOW style and no decorations.)

wxMac: Fixed the lack of painting the area between scrollbars on
Leopard.

wxMac: Fixed assertion errors dealing with toolbars on Leopard.

wxMac: Multiline textcontrols now support attributes for margins and
alignement; only a single tab distance can be set though.

Added the wx.Image.AdjustChannels method.  This function muliplies all
4 channels (red, green, blue, alpha) with a factor (around
1.0). Useful for gamma correction, colour correction and to add a
certain amount of transparency to a image.

Added Editra to the distribution, to give us a simple yet powerful
programmer's code editor to replace the never finished PyAlaMode
editor and related tools.  Many thanks to Cody Precord for the work he
has done on this tool and for allowing us to make it part of wxPython.
Editra has syntax highlighting and other support for over 40
programming languages, excellent OS X integration, is extendable via
plugins, and for those that are on the VI side of the fence there is a
VI emulation mode.  For more information see the Editra website at
http://editra.org/

wxGTK: wx.Frame.ShowFullScreen now preserves the menubar's
accelerators.

wxGTK: wx.GetClientDisplayRect fixed.

Applied patch [1838043], which adds a demo of the wx.RendererNative
class functionality.

Applied patch [1837449], which uses wx.RenderNative for drawing the
combo button in the PopupControl.

Added GetDirItemData to wx.GenericDirCtrl, which returns a reference
to the data object associated with an item in the control.  (Patch
#1836326)


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [wxPython-users] Issue with docking wx.listctrl window

2008-01-24 Thread Robin Dunn
tarun wrote:
> Hello All,
>  
> I'm trying to create a Frame with AuiManager. The code is attached.
>  
> *Problem:*
> - I want 2 windows to be docked in the frame. One is a text control and 
> other is a list control.
> - The text control gets docked, but on trying to dock the list control, 
> all the tabs dis-appear.
>   The tabs appear only when the list control window is kept floating.
>  
> In the attached code the list control window is kept floating. This can 
> be docked
> To see the issue with docking, comment line 33 and un-comment line 35 in 
> the attached file and then try to execute, the issue would be clearly 
> visible. On un-docking the window1, the tabs again appear..
>  
> *Please let  me the solution to this ASAP*


The main problem is that you are putting the listctrl on a panel, but 
you are telling AUI to manage the listctrl, not the panel.  If I 
understand correctly then your other problems stem from that as well. 
Try passing self.log to AddPane, instead of self.log.list.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [wxPython-users] Issue with docking wx.listctrl window

2008-01-25 Thread Robin Dunn
tarun wrote:
> Thanks a lot Robin.
>  
> I tried using self.log and instead of self.log.list. *Code is attached.* 
> But this gives me a panel and listctrl in it. The extra blank space 
> around the listctrl in window1 is something that I don't need.

Use a sizer to manage the layout of the listctrl.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.9.2 release

2009-02-19 Thread Robin Dunn

The wxWidgets team is in the early stages of preparing for a 2.8.10
release, but I already had a set of 2.8.9.2 release candidate files
that I made a few days ago.  Since it's still possible that there
could be delays in the 2.8.10 release I thought that it would be nice
to go ahead and release the 2.8.9.2 binaries.  So...


Announcing
--

The 2.8.9.2 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release adds the wx.lib.agw
package, adds an event watcher to the widget inspection tool, and
fixes a bunch of bugs.  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.4, 2.5 and 2.6[1], for Windows and Mac, as well
some packages for various Linux distributions.


[1] If installing the Python 2.6 version of wxPython on 64-bit XP or
Vista then please read the README presented by the installer for
instructions on how to enable the themed controls.  (If anybody has a
better solution for this please let Robin know.)



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.9.2
--

Added the wx.lib.agw package, which contiains most of the widgets from
http://xoomer.alice.it/infinity77/main/freeware.html written by Andrea
Gavana.  Andrea's widgets that were already in wx.lib were also moved
to the wx.lib.agw package, with a small stub module left in wx.lib.
As part of this addition the demo framework was given the ability to
load demo modules from a sub-folder of the demo directory, to make it
easier to maintain collections of demo samples as a group.

Added the wx.PyPickerBase class which can be used to derive new picker
classes in Python.  Used it to implement a color picker for Mac that
uses a wx.BitmapButton instead of a normal wx.Button.  This makes the
color picker look and behave lots better on Mac than before.

You can now pass the handler function to the Unbind method.  If it is
given then Unbind will only disconenct the event handler that uses the
same handler function, so if there are multiple bindings for the same
event type you'll now be able to selectively unbind specific
instances.

Added a new tool to the Widget Inspection Tool that allows you to watch
the events passing through a widget.  It can also be used
independently, see wx.lib.eventwatcher.



--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

--
http://mail.python.org/mailman/listinfo/python-list


wxPython binaries for Python 2.6

2008-10-08 Thread Robin Dunn

Hi All,

A set of wxPython binaries for Python 2.6 on Win32, Win64 and Mac OS X 
are now available at http://wxpython.org/download.php



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.


--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

--
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.10.1

2009-05-16 Thread Robin Dunn

Announcing
--

The 2.8.10.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release fixes the problem with 
using Python 2.6's default manifest, and updates wxcairo to work with 
the latest PyCairo.  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.4, 2.5 and 2.6, 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.10.1
---

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 at
http://wxpython.org/cairo/

--
Robin Dunn
Software Craftsman
http://wxPython.org

--
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.8.0

2008-06-25 Thread Robin Dunn
to set the modified
flag in the caption::

>>> import ctypes
>>> carbon = ctypes.CDLL('/System/Library/Carbon.framework/Carbon')
>>> carbon.SetWindowModified(frame.MacGetTopLevelWindowRef(), True)


Added a new light-weight solution for embedding ActiveX controls in
wxPython applications that uses ctypes and the comtypes package
available from http://starship.python.net/crew/theller/comtypes/.
Comtypes allows us to use and provide an interface with full dynamic
dispatch abilities, much like PyWin32's COM interfaces but with much
reduced external dependencies.  See wx/lib/activex.py for more
details.  IMPORTANT: Be sure to get at least version 0.5 of comtypes,
see the docstring in the wx.lib.activex module for details.

The wx.lib.iewin, wx.lib.pdfwin, and wx.lib.flashwin modules were
switched to use the new and improved activex module.  The APIs
provided by these modules should be mostly compatible with what was
there before, except for how the COM events are handled.  Instead of
sending wx events it relies on you overriding methods with the same
names as the COM events.  You can either do it in a or derived class,
or you can set an instance of some other class to be the event sink.
See the ActiveX_IEHtmlWindow sample in the demo for an example.  If you
would rather continue to use the old version of these modules they are
available in the wx.lib with "_old" added to the names.

Added the wx.lib.resizewidget module.  This module provides the
ResizeWidget class, which reparents a given widget into a specialized
panel that provides a resize handle for the widget. When the user
drags the resize handle the widget is resized accordingly, and an
event is sent to notify parents that they should recalculate their
layout.


--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

--
http://mail.python.org/mailman/listinfo/python-list


Re: [wxpython-users] ANN: wxPython 2.8.8.0

2008-06-25 Thread Robin Dunn

Mario Lacunza wrote:

Hello Robin,

Are available repos for Ubuntu Hardy??


Not yet.  I hope to get set up for a Hardy build in the next few days, 
but you may be able to use the gutsy packages in the meantime.


--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

--
http://mail.python.org/mailman/listinfo/python-list


ANNOUNCE: wxPython 2.8.8.1

2008-07-20 Thread Robin Dunn

Announcing
--

The 2.8.8.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  This is a minor bugfix release with
several fixes for problems discovered in the 2.8.8.0 release.

Source code is available, as well as binaries for Python 2.3, 2.4 and
2.5, for Windows and Mac, as well some packages for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.




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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.3+, 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.8.1
--

wx.richtext: Added wrappers for the RichTextPrinting and
RichTextPrintout classes.

Make it easier to replace the check box images used in the
CheckListCtrlMixin class.

Fixed bug in wx.ScrolledWindow when child focus events caused
unneccessary or incorrect scrolling.

Fixed a bug in wx.GridBagSizer where hidden items were not ignored in
part of the layout algorithm.

Several other bugs also fixed.

Added builds for Ubuntu Hardy (8.04)


--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

--
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.9.0

2008-09-28 Thread Robin Dunn


Announcing
--

The 2.8.9.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release adds support for using
Cairo for drawing on wx windows, adds a Win64 build, and various other
fixes and enhancements.

Source code is available, as well as binaries for Python 2.3, 2.4 and
2.5, for Windows and Mac, as well some packages for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.



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.9.0
--

Many minor bug fixes throughout wxWidgets and wxPython.

Fixed wx.lib.embeddedimage to work with Python 2.3.

Fixed PseudoDC hit testing when pure white or pure black are used.

Added support for a 64-bit Windows build for the AMD64 architecture,
(a.k.a. x64.)  This is for Python 2.5 only and is available only as a
Unicode build.

Added the wx.EmptyBitmapRGBA factory function.

Added the wx.lib.wxcairo module which allows the pycairo package to be
used for drawing on wx window or memory DCs.  In addition it is able
to convert from a native wx.Font to a cairo.FontFace, and it also
provides functions for converting to/from wx.Bitmap and
cairo.ImageSurface objects.  In order to use this module you will need
to have the Cairo library and its dependencies installed, as well as
the pycairo Python package.  For Linux and other unix-like systems you
most likely have what you need installed already, or can easily do so
from your package manager application.  See the wx.lib.wxcairo
module's docstring for notes on where to get what you need for Windows
or Mac.  This module uses ctypes, and depending on platform it may
need to find and load additional dynamic libraries at runtime in
addition to cairo.  The pycairo package used needs to be new enough to
export the CAPI structure in the package namespace.  I believe that
started sometime in the 1.4.x release series.

Added the wx.lib.graphics module, which is an implementation of the
wx.GraphicsContext API using Cairo (via wx.lib.wxcairo).  This allows
us to be totally consistent across platforms, and also use Cairo to
implement some things that are missing from the GraphicsContext API.
It's not 100% compatible with the GraphicsContext API, but probably
close enough to be able to share code between them if desired, plus it
can do a few things more.

Updated wx.Bitmap.CopyFromBuffer to be a bit more flexible. You can
now specify the format of the buffer, and the CopyFromBufferRGBA is
now just a wrapper around CopyFromBuffer that specifies a different
format than the default.  Also added the complement method,
CopyToBuffer.  See the docstring for CopyFromBuffer for details on the
currently allowed buffer formats.  The existing wx.BitmapFromBuffer
factory functions are also now implemented using the same underlying
code as CopyFromBuffer.

Add wx.lib.mixins.listctrl.ListRowHighlighter for automatic highlighting
of rows in a wx.ListCtrl.

--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

--
http://mail.python.org/mailman/listinfo/python-list


Re: [wxpython-users] ANN: wxPython 2.8.9.0

2008-09-29 Thread Robin Dunn

Clay Hobbs wrote:




I'm curious, why do you package wxPython for Fedora 6 and 7, but not 8
and 9?



It's only because I haven't taken the time to update and retest those 
build boxes.



--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

--
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.8.9.1

2008-09-29 Thread Robin Dunn


Announcing
--

The 2.8.9.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  This release adds a quick fix for a
compatibility problem with Python 2.4.

Source code is available, as well as binaries for Python 2.3, 2.4 and
2.5, for Windows and Mac, as well some packages for various Linux
distributions.  A summary of changes is listed below and also at
http://wxpython.org/recentchanges.php.




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.


--
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

--
http://mail.python.org/mailman/listinfo/python-list


[wxPython-users] ANNOUNCE: wxPython 2.6.3.0

2006-03-28 Thread Robin Dunn
Announcing
--

The 2.6.3.0 release of wxPython is now available for download at
http://wxpython.org/download.php.  There have been many enhancements
and fixes implemented in this version, many of which are listed
below and at http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.2+, in most
cases the native widgets are used on each platform.


Changes in 2.6.3.0
--

Change the wx.ListCtrl InsertStringItem wrapper to use the form that
takes an imageIndex, and set the default to -1.  This ensures that on
wxMSW that if there is an image list but they don't specify an image,
the native control doesn't use one anyway.

wxMSW: wx.ListCtrl in report mode is now able to support images in
other columns besides the first one.  Simply pass an image index to
SetStringItem.  For virtual list controls you can specify the image to
use on the extra columns by overriding OnGetItemColumnImage in your
derived class.  It is passed the item number and the column number as
parameters, and the default version simply calls OnGetItemImage for
column zero, or returns -1 for other columns.

Switched to using SWIG 1.3.27 for generating the wrapper code.  There
are some small changes needed to SWIG to work around some bugs that
wxPython exposes, and to be able to generate code that matches that
which wxPython is using.  If you are building wxPython yourself and
need to modify any of the *.i files or to add your own, then you will
want to be sure to use a matching SWIG.  See wxPython/SWIG/README.txt
in the source tarball for details.

wx.Image.Copy now also copies the alpha channel.

wxMSW: Fixed problem in wx.TextCtrl where using SetValue and
wx.TE_RICH2 would cause the control to be shown if it was hidden.

wxMSW: Numpad special keys are now distinguished from normal keys in
key events.

wxMSW: Multiline notebook tab label change now resizes the control
correctly if an extra row is removed or added.

wxMSW: On XP fall back to unthemed wxNotebook if specified orientation
not available in the themed version.

Added wx.Toolbar.GetToolsCount.

Added wx.GridSizer.CalcRowsCols.

Added wx.OutputStream.LastWrite.

wxGTK: EVT_SET_CURSOR is now sent.

wxGTK: Fix RequestMore for idle events.

wxGTK: Implement user dashes for PS and GNOME printing.

wxGTK: Correct update region code. Don't always invalidate the whole
window upon resize. Reenable support for thewx.NO_FULL_REPAINT_ON_RESIZE
flag.  Also disable refreshing custom controls when focusing in and out.

wx.lib.pubsub: Publisher is now able to parse a dotted notation string
into a topic tuple.  For example: subscribing to "timer.clock.seconds"
is the same as subscribing to ("timer", "clock", "seconds").

Applied patch #1441370: lib.plot - allow passing in wx.Colour()

Added wx.CommandEvent.GetClientData.

Updated wxStyledTextCtrl to use version 1.67 of Scintilla.
NOTE: The STC_LEX_ASP and STC_LEX_PHP lexers have been deprecated,
you should use STC_LEX_HTML instead.

wxSTC: Implemented fix for SF Bug #1436503.  Delay the start of the
DnD operation in case the user just intended to click, not drag.

Updated the analogclock.py module to the new analogclock package from
E. A. Tacao.

Added the wx.lib.mixins.listctrl.CheckListCtrlMixin class from Bruce
Who, which makes it easy to put checkboxes on list control items.

Applied a patch from Christian Kristukat to wx.lib.plot that adds
scrollbars when the plot is zoomed in, and also the ability to grab a
zoomed plot and move it around with a mouse drag.

XRCed updated to allow wxMenuBar to be created inside a wxFrame.



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list


ANNOUNCE: wxPython 2.6.3.2

2006-04-04 Thread Robin Dunn

Announcing
--

The 2.6.3.2 release of wxPython is now available for download at
http://wxpython.org/download.php.  This is a mostly bug fix release
and takes care of several "unfortunate features" discovered in the
2.6.3.0 release made last week.  A summary of changes is listed below
and at http://wxpython.org/recentchanges.php.


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 Microsoft Windows, most Linux
or other Unix-like systems using GTK2, and Mac OS X 10.2+, in most
cases the native widgets are used on each platform.


Changes in 2.6.3.2
--

Fixed reference leak in wx.gizmos.TreeListCtrl.GetSelections.

wxMSW: Fixed sizing issue with wx.Choice and wx.ComboBox.  This change
was implemented by reverting a prior fix for a different problem
(continuous painting/resizing when a combobox is used as a widget in a
wx.html.HtmlWindow) so a method to fix both problems is still being
investigated.

wxGTK: Fixed potential buffer overrun when pasting from the
clipboard.

Fixed problem in wx.lib.splitter when used on 64-bit platforms.  Used
the current length of the list for specifying an append instead of
sys.maxint.

wxMSW: Support added for XP themed owner drawn buttons and bitmap
buttons.  For example, if you change the foreground color of a button
it will now be drawn with the XP themed style rather than an ugly
generic button style.

XRCed: Fix for Copy/Paste objects with international characters.

Fixed the equality and inequality operators for some of the basic
data types (wx.Point, wx.Size, wx.Colour, etc.) to no longer raise a
TypeError if the compared object is not compatible, but to just return
a boolean as expected.  For example::

  wx.Colour(64,0,64) == 123  ==> False

wxMSW: Fixed (again) sizing/positioning issues of calling Realize on
a wx.ToolBar that is not manaaged directly by a frame and that is
already shown.

wxMSW: Fixed wx.Choice/wx.ComboBox so they send events when a new item
is selected only with the keyboard.



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ANNOUNCE: wxPython 2.6.3.2

2006-04-04 Thread Robin Dunn
Kevin Walzer wrote:

> Is the new build of wxPython-Mac a universal binary?
> 

No, not yet.  There is still some more work to do for that.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Book: wxPython in Action

2006-04-04 Thread Robin Dunn
[EMAIL PROTECTED] wrote:
> Robin,
> 
>I just recently obtained the E-Book from the publisher Manning 
> and have started reading.   I have to complement you on your writing 
> style.  It is VERY conducive to learning.  The three things that 
> particularly jump out at me as read are;
> 
>1. Your use of ‘jargon’ sections.
>2. Your use of numbering the code examples then explaining the
>   significance point by point.  And
>3. Going slow and detailed in some sections, and quick in other areas
>   where needed.

Much of the thanks in these areas should go to Noel, I couldn't have 
done it without him.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: WxPython versus Tkinter.

2011-01-24 Thread Robin Dunn
On Jan 23, 4:31 pm, "Martin v. Loewis"  wrote:
> > WxPython Challenge 1 code updated...
>
> >  * Fixed tab traveral
> >  * Removed hand-holding code
> >  * Removed some cruft
>
> >  https://sites.google.com/site/thefutureofpython/home/code-challenges
>
> > Good luck!
>
> Still crashes the interpreter.

The crash on Linux is due to SetSingleStyle removing the all items and
the columns when the mode of the listctrl is changed, and then the
code continues on with the assumption that the columns still exist and
the crash happens when an item is added to column zero and there is no
column zero.  Apparently the native widget on Windows doesn't have
that limitation.  BTW, if the linux wx packages had the runtime
assertions turned on then you would have seen a Python exception with
some clues that would probably help solve the problem. I don't know
about others but on Ubuntu you can install the *wx*-dbg packages to
get a version with the assertions turned on.  Hopefully that will
change starting with 2.9 as wx now turns on the assertions by default
for builds configured normally, and the wx-dev team recommends that
the assertions are not turned off, except in rare circumstances.

BTW, on behalf of the wxPython community I'd like to apologize for the
havoc caused by the flaming troll escaping from his cage.  In general
wxPython users are much less militant and zealotty and honor
everyone's freedom to choose which ever UI tool kit works the best for
their own needs.

--Robin
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: WxPython versus Tkinter.

2011-01-24 Thread Robin Dunn
On Jan 24, 12:03 pm, rantingrick  wrote:
> On Jan 24, 1:57 pm, Robin Dunn  wrote:

> > BTW, on behalf of the wxPython community I'd like to apologize for the
> > havoc caused by the flaming troll escaping from his cage.  In general
> > wxPython users are much less militant and zealotty and honor
> > everyone's freedom to choose which ever UI tool kit works the best for
> > their own needs.
>
> Well we forgive Byran, but we will not forget! :)

For the record, that is not who I was referring to.

--Robin
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: WxPython versus Tkinter.

2011-01-24 Thread Robin Dunn
On Jan 24, 2:16 pm, rantingrick  wrote:
> And i know the real reason you and Robin do not want wxPython
> in the stdlib. Because you do not want to lose your selfish status
> within the wxPython community. When wxPython becomes a stdlib module
> then you will answer directly to Guido and Python-dev. You are not
> fooling anyone with this grandstanding.

Oh my, the BS certainly is getting deep around here.  It doesn't look
like my hip-waders will be enough... Now where did I put that full-
body bio-hazard environment suit?

--Robin
-- 
http://mail.python.org/mailman/listinfo/python-list


wxPython 2.8.11.0 release

2010-05-24 Thread 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.



--
Robin Dunn
Software Craftsman
http://wxPython.org

--
http://mail.python.org/mailman/listinfo/python-list


ANN: wxPython 2.9.1.1

2010-10-21 Thread Robin Dunn

Announcing
--

The 2.9.1.1 release of wxPython is now available for download at
http://wxpython.org/download.php.  This is the first official release
in the 2.9 development release series.  There are lots and lots of new
widgets and other awesome stuff that have been added since the 2.8
series, with more to come in future releases.  A list of changes can be
seen at http://wxpython.org/recentchanges.php.  Also new with this
release is a build for Mac OSX and Python 2.7 that uses the Cocoa API
and supports the 64-bit architecture on OSX 10.5 and 10.6.

Various binaries are available for 32-bit and 64-bit Windows, and also
for OSX using the Carbon and Cocoa APIs, for Python 2.5, 2.6 and 2.7.
And source code is also available at http://wxpython.org/download.php
of course for building your own.


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 set of Python extension modules that wrap 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.

--
Robin Dunn
Software Craftsman
http://wxPython.org

--
http://mail.python.org/mailman/listinfo/python-list