Example #1
0
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.")
Example #2
0
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.")
Example #3
0
 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)
Example #4
0
 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 ...')
Example #5
0
 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)
Example #6
0
 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 ...')