Xp-Style renderer.
wx.lib.agw.flatmenu.FMRenderer
Default class constructor. |
|
Draws the menu left margin. |
|
Draws the menu bar background according to the active theme. |
|
Draws the toolbar background according to the active theme. |
|
Returns the colour used for text colour when enabled. |
FMRendererXP
(FMRenderer)¶Xp-Style renderer.
__init__
(self)¶Default class constructor.
DrawLeftMargin
(self, item, dc, menuRect)¶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.
DrawMenuBarBackground
(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.
GetTextColourEnable
(self)¶Returns the colour used for text colour when enabled.