
wx.lib.agw.artmanager.RendererMSOffice2007¶Windows MS Office 2007 style.
Class Hierarchy¶
Inheritance diagram for class RendererMSOffice2007:

Known Superclasses¶wx.lib.agw.artmanager.RendererBase
Methods Summary¶Default class constructor. |
|
Draws a button using the MS Office 2007 theme. |
|
Draws a button using the MS Office 2007 theme. |
|
Draws the menu bar background according to the active theme. |
|
Draws the toolbar background according to the active theme. |
|
Returns a |
|
Returns the colour used for text colour when enabled. |
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.
DrawButtonColour(self, dc, rect, state, colour)¶Draws a button using the MS Office 2007 theme.
DrawMenuBarBg(self, dc, rect)¶Draws the menu bar background according to the active theme.
DrawToolBarBg(self, dc, rect)¶Draws the toolbar background according to the active theme.
GetColoursAccordingToState(self, state)¶Returns a wx.Colour according to the menu item state.
state (integer) – one of the following bits:
Item State |
Value |
Description |
|---|---|---|
|
0 |
The item is pressed |
|
1 |
The item is focused |
|
2 |
The item is disabled |
|
3 |
Normal state |
An instance of wx.Colour.