.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.agw.flatmenu .. highlight:: python .. _wx.lib.agw.flatmenu.FMRendererMgr: ========================================================================================================================================== |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 :meth:`FMRendererMgr.SetTheme() ` anywhere will affect everyone. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class FMRendererMgr:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.agw.flatmenu.FMRendererMgr.__init__` Default class constructor. :meth:`~wx.lib.agw.flatmenu.FMRendererMgr.AddRenderer` Adds a user defined custom renderer. :meth:`~wx.lib.agw.flatmenu.FMRendererMgr.GetRenderer` Returns the current theme's renderer. :meth:`~wx.lib.agw.flatmenu.FMRendererMgr.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 :meth:`FMRendererMgr.SetTheme() ` anywhere will affect everyone. .. method:: __init__(self) Default class constructor. .. method:: AddRenderer(self, renderer) Adds a user defined custom renderer. :param `renderer`: a class derived from :class:`FMRenderer`. .. method:: GetRenderer(self) Returns the current theme's renderer. .. method:: SetTheme(self, theme) Sets the current theme. :param `theme`: an integer specifying the theme to use.