def _create_lut_fired(self): from tvtk import util tk = 'wx' if ETSConfig.toolkit.lower().startswith('wx') else 'qt' script = os.path.join(os.path.dirname(util.__file__), tk + '_gradient_editor.py') subprocess.Popen([sys.executable, script]) auto_close_message('Launching LUT editor in separate process ...')
def open_help_index(*args): """ 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: browser_open('https://docs.enthought.com/mayavi/mayavi/')
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 _create_lut_fired(self): from 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)
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)