Package wx :: Package lib :: Package agw :: Module flatnotebook
[frames | no frames]

Module wx.lib.agw.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:

And much more.

License And Version:

FlatNotebook Is Freeware And Distributed Under The wxPython License.

Latest Revision: Andrea Gavana @ 10 Dec 2008, 11.00 GMT Version 2.8
Classes
FlatNotebook Display one or more windows in a notebook.
FlatNotebookEvent This events will be sent when a EVT_FLATNOTEBOOK_PAGE_CHANGED, EVT_FLATNOTEBOOK_PAGE_CHANGING, EVT_FLATNOTEBOOK_PAGE_CLOSING, EVT_FLATNOTEBOOK_PAGE_CLOSED and EVT_FLATNOTEBOOK_PAGE_CONTEXT_MENU is mapped in the parent.
FNBDropSource Give some custom UI feedback during the drag and drop operation in this function.
FNBRenderer Parent class for the 4 renderers defined: Standard, VC71, Fancy and VC8.
FNBRendererDefault This class handles the drawing of tabs using the Standard renderer.
FNBRendererFancy This class handles the drawing of tabs using the Fancy renderer.
FNBRendererFirefox2 This class handles the drawing of tabs using the Firefox 2 renderer.
FNBRendererMgr This class represents a manager that handles all the 4 renderers defined and calls the appropriate one when drawing is needed.
FNBRendererVC71 This class handles the drawing of tabs using the VC71 renderer.
FNBRendererVC8 This class handles the drawing of tabs using the VC8 renderer.
PageContainer This class acts as a container for the pages you add to FlatNotebook.
PageInfo This class holds all the information (caption, image, etc...) belonging to a single tab in FlatNotebook.
TabNavigatorWindow This class is used to create a modal dialog that enables "Smart Tabbing", similar to what you would get by hitting Alt+Tab on Windows.

Function Summary
  DrawButton(dc, rect, focus, upperTabs)
  LightColour(color, percent)
Brighten input colour by percent.
  PaintStraightGradientBox(dc, rect, startColor, endColor, vertical)
Draws a gradient colored box from startColor to endColor.
  RandomColour()
Creates a random colour.

Function Details

LightColour(color, percent)

Brighten input colour by percent.

PaintStraightGradientBox(dc, rect, startColor, endColor, vertical=True)

Draws a gradient colored box from startColor to endColor.

RandomColour()

Creates a random colour.

Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:52:10 2009 http://epydoc.sf.net