RendererMSOffice2007¶Windows MS Office 2007 style.
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.Colour according to the menu item state. |
| GetTextColourEnable | Returns the colour used for text colour when enabled. |
Class API¶Windows MS Office 2007 style.
Draws a button using the MS Office 2007 theme.
| Parameters: |
|
|---|
Draws a button using the MS Office 2007 theme.
| Parameters: |
|---|
Draws the menu bar background according to the active theme.
| Parameters: |
|
|---|
Draws the toolbar background according to the active theme.
| Parameters: |
|
|---|
Returns a wx.Colour according to the menu item state.
| Parameters: | state (integer) – one of the following bits:
|
|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns: | An instance of wx.Colour. |