ANN: FlatNotebook Control For wxPython ;-)

Andrea Gavana andrea.gavana at gmail.com
Mon Oct 2 17:38:23 PDT 2006


Hello NG,

    I would like to "announce" my latest control, called FlatNotebook.

"The FlatNotebook is a full implementation of the wx.Notebook, and
designed to be a drop-in replacement for wx.Notebook. The API
functions are similar so one can expect the function to behave in the
same way.

Some features:
- The buttons are highlighted a la Firefox style
- The scrolling is done for bulks of tabs (so, the scrolling is faster
and better)
- The buttons area is never overdrawn by tabs
- It is a generic control
- Currently there are 4 differnt styles - VC8, VC 71, Standard and Fancy.
- Mouse middle click can be used to close tabs
- A function to add right click menu for tabs (simple as SetRightClickMenu)
- All styles has bottom style as well (they can be drawn in the bottom
of screen)
- An option to hide 'X' button or navigation buttons (separately)
- Gradient coloring of the selected tabs and border
- Support for drag 'n' drop of tabs, both in the same notebook or to
another notebook
- Possibility to have closing button on the active tab directly
- Support for disabled tabs
- Colours for active/inactive tabs, and captions
- Background of tab area can be painted in gradient (VC8 style only)
- Colourful tabs - a random gentle colour is generated for each new
tab (very cool, VC8 style only)

And much more.
"

The source code, demo and epydoc-generated documentation are available
in the usual place:

http://xoomer.alice.it/infinity77/eng/freeware.html#flatnotebook

Or, if you prefer in italian:

http://xoomer.alice.it/infinity77/ita/freeware.html#flatnotebook

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