
wx.lib.agw.flatmenu.FMRendererXP¶Xp-Style renderer.
Class Hierarchy¶
Inheritance diagram for class FMRendererXP:

Known Superclasses¶wx.lib.agw.flatmenu.FMRenderer
Methods Summary¶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. |
Class API¶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.