API Reference for Enthought Tool Suite 3.2.0
Common utility functions and classes. This includes error/warning messages etc.
Setup a logger for this module.
logger = logging.getLogger(__name__)
Handle a debug message.
Handle an error message.
This function handles any exception derived from Exception and prints out an error. The optional parent argument is passed along to the dialog box. The optional msg is printed and sent to the logger. So you could send extra information here.
Try and return the engine given an object in the mayavi pipeline. This basically walks up the parent's of the object till the engine is found.
Given a mayavi object on the tree view, this should find its "path" with respect to the parent object that contains it.
Given a list of children (as children) of a particular object and their states in the kids argument, this function sets up the children by removing unnecessary ones, fixing existing ones and adding new children if necessary (depending on the state).
Process GUI events.
This function merely abstracts the function so nothing is done when no UI is running.
Handle a warning message.
| Local name | Refers to |
|---|---|
| create_instance | enthought.persistence.state_pickler.create_instance |
| ETSConfig | enthought.etsconfig.etsconfig.ETSConfig |
| logging | logging |
| sys | sys |
| traceback | traceback |
© Copyright 2002-2009 Enthought, Inc.