예제 #1
0
 def yes(self):
     """Called when the Yes button is clicked."""
     if self.is_df:
         launcher.run_df()
     else:
         launcher.run_program(self.path)
     self.close()
예제 #2
0
 def yes(self):
     """Called when the Yes button is clicked."""
     if self.is_df:
         launcher.run_df()
     else:
         launcher.run_program(self.path)
     self.close()
예제 #3
0
    def run_program(path):
        """
        Launches another program.

        Args:
            path: Path to the program to launch.
        """
        path = os.path.abspath(path)
        launcher.run_program(path)
예제 #4
0
    def run_program(path):
        """
        Launches another program.

        Params:
            path
                Path to the program to launch.
        """
        path = os.path.abspath(path)
        launcher.run_program(path)
예제 #5
0
 def run_selected_utilities(self):
     """Runs selected utilities."""
     for item in self.proglist.selection():
         #utility_path = self.proglist.item(item, 'text')
         launcher.run_program(paths.get('utilities', item))
예제 #6
0
 def run_selected_utilities(self):
     """Runs selected utilities."""
     for item in self.proglist.selection():
         #utility_path = self.proglist.item(item, 'text')
         launcher.run_program(paths.get('utilities', item))