def run(self): """.""" if stino.arduino_info['init_done']: sketchbook_path = stino.arduino_info['sketchbook_path'] caption = stino.translate('Sketchbook Path:') self.window.show_input_panel(caption, sketchbook_path, self.on_done, None, None) stino.do_action.put(stino.st_menu.update_sketchbook_menu, stino.arduino_info) stino.do_action.put(stino.st_menu.update_example_menu, stino.arduino_info) stino.do_action.put(stino.st_menu.update_library_menu, stino.arduino_info)
def run(self): """.""" if stino.arduino_info['init_done']: ide_path = stino.arduino_info['ext_app_path'] caption = stino.translate('Arduino IDE Path:') self.window.show_input_panel(caption, ide_path, self.on_done, None, None) stino.do_action.put(stino.init_inst_pkgs_info) stino.do_action.put(stino.st_menu.update_install_platform_menu, stino.arduino_info) stino.do_action.put(stino.st_menu.update_example_menu, stino.arduino_info) stino.do_action.put(stino.st_menu.update_library_menu, stino.arduino_info)
def run(self): """.""" if stino.arduino_info['init_done']: caption = stino.translate('Arduino IDE Path:') self.window.show_input_panel(caption, '', self.on_done, None, None)
def run(self): """New Sketch.""" if stino.arduino_info['init_done']: caption = stino.translate('Sketch Name:') self.window.show_input_panel(caption, '', self.on_done, None, None)