
 
       wx.lib.agw.flatmenu.FMRendererMSOffice2007¶
  wx.lib.agw.flatmenu.FMRendererMSOffice2007¶Windows Office 2007 style.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| DrawButton | Draws a button using the Office 2007 theme. | 
| DrawButtonColour | Draws a button using the Office 2007 theme. | 
| DrawLeftMargin | Draws the menu left margin. | 
| DrawMenuBarBackground | Draws the menu bar background according to the active theme. | 
| DrawMenuBarButton | Draws the highlight on a FlatMenuBar. | 
| DrawMenuButton | Draws the highlight on a FlatMenu. | 
| DrawToolBarBg | Draws the toolbar background according to the active theme. | 
| GetTextColourEnable | Returns the colour used for text colour when enabled. | 
 Class API¶
 Class API¶FMRendererMSOffice2007(FMRenderer)¶Windows Office 2007 style.
__init__(self)¶Default class constructor.
DrawButton(self, dc, rect, state, colour=None)¶Draws a button using the Office 2007 theme.
| Parameters: | 
 | 
|---|
DrawButtonColour(self, dc, rect, state, colour)¶Draws a button using the Office 2007 theme.
| Parameters: | 
|---|
DrawLeftMargin(self, item, dc, menuRect)¶Draws the menu left margin.
| Parameters: | 
 | 
|---|
DrawMenuBarBackground(self, dc, rect)¶Draws the menu bar background according to the active theme.
| Parameters: | 
|---|
DrawMenuBarButton(self, dc, rect, state)¶Draws the highlight on a FlatMenuBar.
| Parameters: | 
|---|
DrawToolBarBg(self, dc, rect)¶Draws the toolbar background according to the active theme.
| Parameters: | 
|---|
GetTextColourEnable(self)¶Returns the colour used for text colour when enabled.