API Reference for Enthought Tool Suite 3.2.0
Generates a file containing definitions for editors defined in the various backends.
The idea is that if a new editor has been declared in any of the backends, the author needs to create a file called '<myeditor>_definition' in the Traits package (in enthought.traits.ui). This function will be run each time the user runs the setup.py file, and the new editor's definition will be appended to the editors.py file.
The structure of the <myeditor>_definition file should be as follows:
myeditor_definition = '<file name in the backend package>:
<name of the Editor or the EditorFactory class'
| Local name | Refers to |
|---|---|
| glob | glob |
| os | os |
| sys | sys |
© Copyright 2002-2009 Enthought, Inc.