Contents Previous Next

Component plugins

Each interface element available in XRCed is defined using a component plugin. This permits easy extension to include new XRC format features and classes and using custom application-specific components.

A component plugin is actually a (singleton) object of Component class or one of derived classes, containing the data essential for constructing the visual interface for editing element attributes and defining its behaviour with respect to other components. Components must be registered with the component manager Manager object.

Defining component plugins


Defining component plugins

There are two ways to define component plugins.

Please refer to the wxPyWiki documentation for further information and examples about component plugins.