This is the Advanced Generic Widgets package (AGW). It provides many custom-drawn wxPython controls: some of them can be used as a replacement of the platform native controls, others are simply an addition to the already rich wxPython widgets set.
Starting from version 18.104.22.168, AGW has been officially integrated in the wxPython framework, under the wx.lib.agw package.
In order to use one of the AGW widgets, you can simply write:
import wx.lib.agw.customtreectrl as CT #------------------------ # CustomTreeCtrl subclass #------------------------ class CustomTreeCtrl(CT.CustomTreeCtrl): def __init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.SUNKEN_BORDER, agwStyle=CT.TR_HAS_BUTTONS|CT.TR_HAS_VARIABLE_ROW_HEIGHT): CT.CustomTreeCtrl.__init__(self, parent, id, pos, size, style, agwStyle) # Do something else in the initialization...
|Date:||12 March 2012|
There currently is a first draft of the documentation, created with HTML Help Workshop, in a downloadable format. You can get the CHM file here (10.3 MB).
As per AGW version 0.8.0, most widgets constructors have a modified signature, taking into account the introduction of the agwStyle keyword.
AGW contains many different modules, listed below. Items labelled with an asterisk were already present in wx.lib before:
Code statistics for AGW:
|Stat Name||Value||Relative Percentage|
|Total Lines Of Code (Including Demos)||164363||—|
|Total Lines Of Code (Excluding Demos)||132722||—|
|Python Code Lines||113945||85.76%|
Bugs and Limitations: many, patches and fixes welcome :-D
See the demos for an example of what AGW can do, and on how to use it.
Copyright: Andrea Gavana
License: Same as the version of wxPython you are using it with.
SVN for latest code: http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/AGW/
Mailing List: email@example.com
My personal web page: http://xoomer.alice.it/infinity77
Please let me know if you are using AGW!
You can contact me at:
AGW version: 0.9.4
Last updated: 12 March 2012, 22.00 GMT