Windows Office 2007 style.
wx.lib.agw.flatmenu.FMRendererVista
wx.lib.agw.flatmenu.FMRenderer
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. |
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.