API Reference for Enthought Tool Suite 3.0.1
Display/Search a list of Python functions.
Specialized function search UI gui that is customized to this application. Note that this view is actually of the Application object instead of just the FunctionSearch object, because it needs to access multiple things on the application including the FunctionLibrary, the Canvas, and the HTML Window.
GUI code for instrument search.
function_search_view = View(VGroup(VSplit(VGroup(HGroup(Item('search_term', show_label = False, springy = True, editor = SearchEditor(text = 'Search for functions')), Item('handler.preferences', show_label = False, editor = HyperlinkEditor(text = """Search Settings""", tooltip = 'Advanced search settings'))), Item('handler.search_results', show_label = False, editor = TabularEditor(adapter = AppSearchTableAdapter(), selected = 'handler.selected', dclicked = 'handler.dclicked', column_clicked = 'handler.column_clicked', editable = False), springy = True, resizable = True), id = 'search_results_view'), id = 'search_panel_split')), id = 'search_view', resizable = True, buttons = NoButtons, handler = AppFunctionSearchUIHandler)
NEW_EXPR_ENTRY = MinimalFunctionInfo(name = 'Add New Expressions', module = 'Create a new expression block')
## FIXME: This is a cut and paste from the application, ## but we have a copy here to avoid circular imports. A global object to represent a new function. We're cheating here a bit and putting labels in the correct "columns" (name, module) to get the UI that we want. The UI classes below have some code to special case this class.
NEW_FUNCTION_ENTRY = MinimalFunctionInfo(name = 'Add New Function', module = 'Create a new function')
© Copyright 2002-2008 Enthought, Inc.