
wx.lib.agw.flatmenu.FMRendererMSOffice2007¶Windows Office 2007 style.
Class Hierarchy¶
Inheritance diagram for class FMRendererMSOffice2007:
Known Subclasses¶wx.lib.agw.flatmenu.FMRendererVista
Known Superclasses¶wx.lib.agw.flatmenu.FMRenderer
Methods Summary¶Default class constructor. |
|
Draws a button using the Office 2007 theme. |
|
Draws a button using the Office 2007 theme. |
|
Draws the menu left margin. |
|
Draws the menu bar background according to the active theme. |
|
Draws the highlight on a |
|
Draws the highlight on a |
|
Draws the toolbar background according to the active theme. |
|
Returns the colour used for text colour when enabled. |
Class API¶Windows Office 2007 style.
Default class constructor.
Draws a button using the Office 2007 theme.
dc – an instance of wx.DC;
rect – an instance of wx.Rect, representing the button client rectangle;
state (integer) – the button state;
colour – if not None, an instance of wx.Colour to be used to draw
the FlatMenuItem background.
Draws a button using the Office 2007 theme.
Draws the menu left margin.
item – the FlatMenuItem to paint;
dc – an instance of wx.DC;
menuRect – an instance of wx.Rect, representing the menu client rectangle.
Draws the menu bar background according to the active theme.
Draws the highlight on a FlatMenuBar.
Draws the toolbar background according to the active theme.
Returns the colour used for text colour when enabled.