 
       wx.lib.agw.artmanager.RendererMSOffice2007¶
  wx.lib.agw.artmanager.RendererMSOffice2007¶Windows MS Office 2007 style.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| DrawButton | Draws a button using the MS Office 2007 theme. | 
| DrawButtonColour | Draws a button using the MS Office 2007 theme. | 
| DrawMenuBarBg | Draws the menu bar background according to the active theme. | 
| DrawToolBarBg | Draws the toolbar background according to the active theme. | 
| GetColoursAccordingToState | Returns a wx.Colouraccording to the menu item state. | 
| GetTextColourEnable | Returns the colour used for text colour when enabled. | 
 Class API¶
 Class API¶RendererMSOffice2007(RendererBase)¶Windows MS Office 2007 style.
__init__(self)¶Default class constructor.
DrawButton(self, dc, rect, state, useLightColours)¶Draws a button using the MS Office 2007 theme.
| Parameters: | 
|---|
DrawButtonColour(self, dc, rect, state, colour)¶Draws a button using the MS Office 2007 theme.
| Parameters: | 
|---|
DrawMenuBarBg(self, dc, rect)¶Draws the menu bar background according to the active theme.
| Parameters: | 
|---|
DrawToolBarBg(self, dc, rect)¶Draws the toolbar background according to the active theme.
| Parameters: | 
|---|
GetColoursAccordingToState(self, state)¶Returns a wx.Colour according to the menu item state.
| Parameters: | state (integer) – one of the following bits: 
 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns: | An instance of wx.Colour. |