def StandardTools(): """ Returns a standard, default Tools object. """ # Make sure that all of the features have been added: add_standard_features() # Return a Tools object with one starter page containing a sample tool: page = ToolsPage(name='Page', tools=[make_tool('Universal Inspector')]) return Tools(pages=[page], selected_page=page)
def StandardTools ( ): """ Returns a standard, default Tools object. """ # Make sure that all of the features have been added: add_standard_features() # Return a Tools object with one starter page containing a sample tool: page = ToolsPage( name = 'Page', tools = [ make_tool( 'Universal Inspector' ) ] ) return Tools( pages = [ page ], selected_page = page )
def develop ( obj_or_class, args = (), traits = {} ): """ Helps a user develop a specified object or class. """ add_standard_features() page = ToolsPage( name = 'Develop', tools = [ make_tool( 'Universal Inspector' ), make_tool( 'FBI Viewer' ) ] ) Tools( test_object = obj_or_class, test_args = args, test_traits = traits, pages = [ page ], selected_page = page ).configure_traits()
def develop(obj_or_class, args=(), traits={}): """ Helps a user develop a specified object or class. """ add_standard_features() page = ToolsPage( name='Develop', tools=[make_tool('Universal Inspector'), make_tool('FBI Viewer')]) Tools(test_object=obj_or_class, test_args=args, test_traits=traits, pages=[page], selected_page=page).configure_traits()