def trait_command(self, menuitem, command): tc = TRAIT_TEMPL_CMDS if command == tc[0]: if self.dialogs[command] is None: self._trait_select_dialog(command) elif command == tc[1]: #self._extract_packages() pass elif command == tc[2]: TraitGenWin(self.conn, self.suite)
def traitgen(self, button=None, data=None): wname = '.'.join([self.suite, 'traits']) TraitGenWin(self.conn, self.suite, name=wname)
def show_traitgen(self, button, data): TraitGenWin(self.conn, data)