| 1 |
# noqa: N999 |
| 2 |
"""This is the Advanced Generic Widgets package (AGW). |
| 3 |
|
| 4 |
It provides many custom-drawn wxPython controls: |
| 5 |
some of them can be used as a replacement of the platform native controls, |
| 6 |
others are simply an addition to the already rich wxPython widgets set. |
| 7 |
|
| 8 |
|
| 9 |
Description: |
| 10 |
|
| 11 |
AGW contains many different modules, listed below. |
| 12 |
Items labelled with an asterisk were already present in :mod:`lib` before: |
| 13 |
|
| 14 |
- AdvancedSplash: reproduces the behaviour of :class:`~adv.SplashScreen`, |
| 15 |
with more advanced features like custom shapes and text animations; |
| 16 |
- AquaButton: this is another custom-drawn button class which *approximately* mimics the |
| 17 |
behaviour of Aqua buttons on the Mac; |
| 18 |
- AUI: a pure-Python implementation of :mod:`~wx.lib.agw.aui`, |
| 19 |
with many bug fixes and new features like HUD docking and |
| 20 |
:class:`~wx.lib.agw.aui.auibookAuiNotebook` tab arts; |
| 21 |
- BalloonTip: allows you to display tooltips in a balloon style window |
| 22 |
(actually a frame), similarly to the Windows XP balloon help; |
| 23 |
- ButtonPanel (*): a panel with gradient background shading with the possibility to add |
| 24 |
buttons and controls still respecting the gradient background; |
| 25 |
- CubeColourDialog: an alternative implementation of :class:`wx.ColourDialog`, |
| 26 |
it offers different functionalities like colour wheel and RGB cube; |
| 27 |
- CustomTreeCtrl (*): mimics the behaviour of :class:`TreeCtrl`, |
| 28 |
with almost the same base functionalities plus a bunch of enhancements and goodies; |
| 29 |
- FlatMenu: as the name implies, it is a generic menu implementation, |
| 30 |
offering the same :class:`wx.MenuBar` / :class:`wx.Menu` / :class:`ToolBar` |
| 31 |
capabilities and much more; |
| 32 |
- FlatNotebook (*): a full implementation of the :class:`Notebook`, and designed to be a |
| 33 |
drop-in replacement for :class:`Notebook` with enhanced capabilities; |
| 34 |
- FloatSpin: this class implements a floating point spinctrl, |
| 35 |
cabable (in theory) of handling infinite-precision floating point numbers; |
| 36 |
- FoldPanelBar (*): a control that contains multiple panels that can be expanded or |
| 37 |
collapsed a la Windows Explorer/Outlook command bars; |
| 38 |
- FourWaySplitter: this is a layout manager which manages four children like four panes |
| 39 |
in a window, similar to many CAD software interfaces; |
| 40 |
- GenericMessageDialog: it is a possible replacement for the standard |
| 41 |
:class:`MessageDialog`, with a fancier look and extended functionalities; |
| 42 |
- GradientButton: another custom-drawn button class which mimics Windows CE mobile |
| 43 |
gradient buttons, using a tri-vertex blended gradient background; |
| 44 |
- HyperLinkCtrl (*): this widget acts line an hyper link in a typical browser; |
| 45 |
- HyperTreeList: a class that mimics the behaviour of :class:`wx.adv.TreeListCtrl`, |
| 46 |
with almost the same base functionalities plus some more enhancements; |
| 47 |
- InfoBar: a transient window shown at top or bottom of its parent window to display |
| 48 |
non-critical information to the user; |
| 49 |
- KnobCtrl: a widget which lets the user select a numerical value by rotating it, |
| 50 |
like a slider with a wheel shape; |
| 51 |
- LabelBook and FlatImageBook: these are a quasi-full implementations of |
| 52 |
:class:`Listbook`, with additional features; |
| 53 |
- MultiDirDialog: it represents a possible replacement for :class:`DirDialog`, |
| 54 |
with the additional ability of selecting multiple folders at once and a fancier look; |
| 55 |
- PeakMeter: this widget mimics the behaviour of LED equalizers that are usually found |
| 56 |
in stereos and MP3 players; |
| 57 |
- PersistentControls: widgets which automatically save their state when they are |
| 58 |
destroyed and restore it when they are recreated, |
| 59 |
even during another program invocation; |
| 60 |
- PieCtrl and ProgressPie: these are simple classes that reproduce the behavior of a pie |
| 61 |
chart, in a static or progress-gauge-like way; |
| 62 |
- PyBusyInfo: constructs a busy info window and displays a message in it: |
| 63 |
it is similar to :class:`BusyInfo`; |
| 64 |
- PyCollapsiblePane: a pure Python implementation of the original wxWidgets C++ code of |
| 65 |
:class:`CollapsiblePane`, with customizable buttons; |
| 66 |
- PyGauge: a generic :class:`Gauge` implementation, |
| 67 |
it supports the determinate mode functions as :class:`Gauge`; |
| 68 |
- PyProgress: it is similar to :class:`ProgressDialog` in indeterminated mode, |
| 69 |
but with a different gauge appearance and a different spinning behavior; |
| 70 |
- RibbonBar: the RibbonBar library is a set of classes for writing a ribbon user |
| 71 |
interface, |
| 72 |
similar to the user interface present in recent versions of Microsoft Office; |
| 73 |
- RulerCtrl: it implements a ruler window that can be placed on top, bottom, |
| 74 |
left or right to any wxPython widget. |
| 75 |
It is somewhat similar to the rulers you can find in text editors software; |
| 76 |
- ShapedButton: this class tries to fill the lack of "custom shaped" controls in |
| 77 |
wxPython. It can be used to build round buttons or elliptic buttons; |
| 78 |
- ShortcutEditor: a widget that allows the user to customize and change keyboard |
| 79 |
shortcuts via a dialog; |
| 80 |
- SpeedMeter: this widget tries to reproduce the behavior of some car controls |
| 81 |
(but not only), by creating an "angular" control; |
| 82 |
- SuperToolTip: a class that mimics the behaviour of :class:`TipWindow` and generic |
| 83 |
tooltips, with many features and highly customizable; |
| 84 |
- ThumbnailCtrl: a widget that can be used to display a series of images in a |
| 85 |
"thumbnail" format; it mimics, for example, |
| 86 |
the Windows Explorer behavior when you select the "view thumbnails" option; |
| 87 |
- ToasterBox: a cross-platform widget to make the creation of MSN-style "toaster" popups |
| 88 |
easier; |
| 89 |
- UltimateListCtrl: mimics the behaviour of :class:`ListCtrl`, |
| 90 |
with almost the same base functionalities plus some more enhancements; |
| 91 |
- XLSGrid: a class based on :class:`grid.Grid` that can be used to faithfully reproduce |
| 92 |
the appearance of a Microsoft Excel spreadsheets; |
| 93 |
- ZoomBar: a class that *appoximatively* mimics the behaviour of the Mac Dock, |
| 94 |
inside a :class:`Panel`. |
| 95 |
|
| 96 |
|
| 97 |
Bugs and Limitations: many, patches and fixes welcome :-D |
| 98 |
|
| 99 |
See the demos for an example of what AGW can do, and on how to use it. |
| 100 |
|
| 101 |
Copyright: Andrea Gavana |
| 102 |
|
| 103 |
License: Same as the version of wxPython you are using it with. |
| 104 |
|
| 105 |
SVN for latest code: |
| 106 |
http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/AGW/ |
| 107 |
|
| 108 |
Mailing List: |
| 109 |
[email protected] |
| 110 |
|
| 111 |
My personal web page: |
| 112 |
http://xoomer.alice.it/infinity77 |
| 113 |
|
| 114 |
Please let me know if you are using AGW! |
| 115 |
|
| 116 |
You can contact me at: |
| 117 |
|
| 118 |
[email protected] |
| 119 |
[email protected] |
| 120 |
|
| 121 |
AGW version: 0.9.7 |
| 122 |
|
| 123 |
Last updated: 09 January 2014, 23.00 GMT |
| 124 |
|
| 125 |
""" |
| 126 |
|
| 127 |
__version__ = "0.9.7" |
| 128 |
__author__ = "Andrea Gavana <[email protected]>" |