Module component :: Class _ComponentManager
[hide private]
[frames] | no frames]

Class _ComponentManager

source code

Component manager used to register component plugins.

Instance Methods [hide private]
__init__(self) source code
init(self) source code
register(self, component)
Register component object.
source code
forget(self, klass)
Remove registered component.
source code
getNodeComp(self, node) source code
getMenuData(self, menu) source code
setMenu(self, component, menu, label, help, index=1000)
Set pulldown menu data.
source code
getPanelData(self, panel) source code
setTool(self, component, panel, bitmap=None, pos=DEFAULT_POS, span=(1,1))
Set toolpanel data.
source code
addXmlHandler(self, h)
Add an XML resource handler.
source code
findById(self, id) source code
addXmlHandlers(self, res)
Register XML handlers before creating a test window.
source code
Method Details [hide private]

addXmlHandler(self, h)

source code 
Add an XML resource handler. h must be a class derived from XmlResourceHandler or a function loaded from a dynamic library using ctypes.