ANN: FancyButtonPanel Control For wxPython
Andrea Gavana
andrea.gavana at gmail.com
Mon Oct 2 17:36:43 PDT 2006
Hello NG,
I would like to "announce" my quasi-latest control (yes, there is
another one coming right now), called FancyButtonPanel.
"With FancyButtonPanel class you have a panel with gradient coloring on it and
with the possibility to place some buttons on it. Using a standard
panel with normal wx.Buttons leads to an ugly result: the buttons are
placed correctly on the panel - but with grey area around them.
Gradient coloring is kept behind the images - this was achieved due to
the PNG format and the transparency of the bitmaps.
The image are functioning like a buttons and can be caught in your
code using the usual self.Bind(wx.EVT_BUTTON, self.OnButton) method.
The control is generic, and support theming (well, I tested it under
Windows with the three defauls themes: grey, blue, silver and the
classic look)."
The source code, demo and epydoc-generated documentation are available
in the usual place:
http://xoomer.alice.it/infinity77/eng/freeware.html#fancybuttonpanel
Or, if you prefer in italian:
http://xoomer.alice.it/infinity77/ita/freeware.html#fancybuttonpanel
The widget has been tested on wxPython 2.6.3.3, with Python 2.4 on Windows XP.
A load of thanks goes to Eran that posted the code on wxWidgets forum.
Please let me know about bugs and request of improvements.
Happy wxPythoning!
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
More information about the wxpython-users
mailing list