AGW Logo

agw_title 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 SetTheme anywhere will affect everyone.

hierarchy Inheritance Diagram

Inheritance diagram for: FMRendererMgr

Inheritance diagram of FMRendererMgr


method_summary Methods Summary

__init__Default class constructor.
AddRendererAdds a user defined custom renderer.
GetRendererReturns the current theme’s renderer.
SetThemeSets the current theme.

API Class API

class FMRendererMgr(object)[source]

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__()[source]

Default class constructor.



AddRenderer(renderer)[source]

Adds a user defined custom renderer.

Parameters:renderer – a class derived from FMRenderer.


GetRenderer()[source]

Returns the current theme’s renderer.



SetTheme(theme)[source]

Sets the current theme.

Parameters:theme – an integer specifying the theme to use.
Tree

Table Of Contents

Previous topic

FMRendererMSOffice2007

Next topic

FMRendererVista