Table Of Contents

Previous topic

FMRendererVista

Next topic

FocusHandler

This Page

phoenix_title FMRendererXP

Xp-Style renderer.


class_hierarchy Inheritance Diagram

Inheritance diagram for class FMRendererXP

Inheritance diagram of FMRendererXP


super_classes Known Superclasses

lib.agw.flatmenu.FMRenderer


method_summary Methods Summary

__init__ Default class constructor.
DrawLeftMargin Draws the menu left margin.
DrawMenuBarBackground Draws the menu bar background according to the active theme.
DrawToolBarBg Draws the toolbar background according to the active theme.
GetTextColourEnable Returns the colour used for text colour when enabled.

api Class API



class FMRendererXP(FMRenderer)

Xp-Style renderer.


Methods



__init__(self)

Default class constructor.



DrawLeftMargin(self, item, dc, menuRect)

Draws the menu left margin.

Parameters:
  • item – the FlatMenuItem to paint;
  • dc – an instance of DC;
  • menuRect – an instance of Rect, representing the menu client rectangle.


DrawMenuBarBackground(self, dc, rect)

Draws the menu bar background according to the active theme.

Parameters:
  • dc – an instance of DC;
  • rect – an instance of Rect, representing the menubar client rectangle.


DrawToolBarBg(self, dc, rect)

Draws the toolbar background according to the active theme.

Parameters:
  • dc – an instance of DC;
  • rect – an instance of Rect, representing the toolbar client rectangle.


GetTextColourEnable(self)

Returns the colour used for text colour when enabled.