def remove_piece_at_square(self, x, y):
piece=self.chessboard.remove_piece_at(chess.square(x, y))
GLib.idle_add(gv.gui.get_event_box(x, y).queue_draw)
return piece
# called when user does a "clear board" in board edit
评论列表
文章目录