wx.lib.agw.artmanager.RendererBase¶
Base class for all theme renderers.
Class Hierarchy¶
Known Subclasses¶
wx.lib.agw.artmanager.RendererMSOffice2007
, wx.lib.agw.artmanager.RendererXP
Methods Summary¶
Default class constructor. Intentionally empty. |
|
Draws the area below a bitmap and the bitmap itself using a gradient shading. |
|
Draws borders for a bitmap. |
|
Draws borders for buttons. |
|
Returns the font used for text. |
|
Returns the foreground colour for the menu. |
|
Returns the colour used for text colour when disabled. |
|
Returns the colour used for text colour when enabled. |
Class API¶
- class RendererBase(object)¶
Base class for all theme renderers.
Methods¶
- __init__(self)¶
Default class constructor. Intentionally empty.
- DrawBitmapArea(self, dc, xpm_name, rect, baseColour, flipSide)¶
Draws the area below a bitmap and the bitmap itself using a gradient shading.
- DrawBitmapBorders(self, dc, rect, penColour, bitmapBorderUpperLeftPen)¶
Draws borders for a bitmap.
- DrawButtonBorders(self, dc, rect, penColour, brushColour)¶
Draws borders for buttons.
- GetMenuFaceColour(self)¶
Returns the foreground colour for the menu.
- Returns:
An instance of
wx.Colour
.
- GetTextColourDisable(self)¶
Returns the colour used for text colour when disabled.
- Returns:
An instance of
wx.Colour
.