def row_activated(self, iter, model, from_gui=True): if self.store.get_path(iter) != Gtk.TreePath(self.path): board, move, moves = self.store[iter][0] if from_gui: result = self.store[iter][1] if result is not None and result[2] != 0.5: # double click on mate in # self.auto_activate = True play_or_add_move(self.boardview, board, move)
def row_activated(self, iter, model, from_gui=True): if self.store.get_path(iter) != Gtk.TreePath(self.path): board, move, moves = self.store[iter][0] if from_gui: result = self.store[iter][1] if result is not None and result[2] != 0.5: # double click on mate in # self.auto_activate = True play_or_add_move(self.boardview, board, move)
def row_activated(self, iter, model, from_gui=True): if self.store.get_path(iter) != Gtk.TreePath(self.path): board, move, moves = self.store[iter][0] play_or_add_move(self.boardview, board, move)
def row_activated(self, iter, model, from_gui=True): if self.store.get_path(iter) != Gtk.TreePath(self.path): board, move, moves = self.store[iter][0] play_or_add_move(self.boardview, board, move)