API Reference for Enthought Tool Suite 3.0.1
Simple GUI code for function search.
This is the "minimal" UI for a FunctionSearch object. For a more advanced version, see the block_canvas app directory.
function_search_preferences_view = View(VGroup(Label('Function name filters'), Item('name_filters', show_label = False), Label('Module/Package name filters'), Item('module_filters', show_label = False), HGroup(Item('search_name'), Item('search_module'))), title = 'Function Preferences', width = 450, height = 600, resizable = True, buttons = OKCancelButtons)
function_search_view = View(VGroup(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('search_results', show_label = False, editor = TabularEditor(adapter = SearchTableAdapter(), selected = 'handler.selected', dclicked = 'handler.dclicked', column_clicked = 'handler.column_clicked', editable = False, images = images), springy = True, resizable = True), id = 'search_results_view'), id = 'search_panel_split'), id = 'search_view', resizable = True, buttons = NoButtons, handler = FunctionSearchUIHandler)
Images used in adapter.
images = [ ImageResource('function_variable') ]
© Copyright 2002-2008 Enthought, Inc.