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.
Default class constructor. |
|
Adds a user defined custom renderer. |
|
Returns the current theme’s renderer. |
|
Sets the current theme. |
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.
__init__
(self)¶Default class constructor.
AddRenderer
(self, renderer)¶Adds a user defined custom renderer.
renderer – a class derived from FMRenderer
.
GetRenderer
(self)¶Returns the current theme’s renderer.
SetTheme
(self, theme)¶Sets the current theme.
theme – an integer specifying the theme to use.