phoenix_title wx.lib.agw.flatmenu.FMRendererMgr

This class represents a manager that handles all the renderers defined. Every instance of this class will share the same state, so everyone can instantiate their own and a call to FMRendererMgr.SetTheme() anywhere will affect everyone.


class_hierarchy Class Hierarchy

Inheritance diagram for class FMRendererMgr:

method_summary Methods Summary

__init__

Default class constructor.

AddRenderer

Adds a user defined custom renderer.

GetRenderer

Returns the current theme’s renderer.

SetTheme

Sets the current theme.


api Class API

class FMRendererMgr(object)

This class represents a manager that handles all the renderers defined. Every instance of this class will share the same state, so everyone can instantiate their own and a call to FMRendererMgr.SetTheme() anywhere will affect everyone.


Methods

__init__(self)

Default class constructor.



AddRenderer(self, renderer)

Adds a user defined custom renderer.

Parameters

renderer – a class derived from FMRenderer.



GetRenderer(self)

Returns the current theme’s renderer.



SetTheme(self, theme)

Sets the current theme.

Parameters

theme – an integer specifying the theme to use.