def open_help_index(): """ Open the mayavi user manual index in a browser. """ # If the HTML_DIR was found, bring up the documentation in a # web browser. Otherwise, bring up an error message. if HTML_DIR: auto_close_message("Opening help in web browser...") browser_open(join(HTML_DIR, 'index.html')) else: error("Could not find the user guide in your installation " \ "or the source tree.")
def perform(self, event): """ Performs the action. """ auto_close_message("Opening help in web browser...") browser_open(url="http://www.connectomeviewer.org/documentation", decorated=True)
def _create_lut_fired(self): from enthought.tvtk import util script = os.path.join(os.path.dirname(util.__file__), 'wx_gradient_editor.py') subprocess.Popen([sys.executable, script]) auto_close_message('Launching LUT editor in separate process ...')
def perform(self, event): """ Performs the action. """ auto_close_message("Opening help in web browser...") browser_open(url='http://www.connectomeviewer.org/documentation', decorated=True)