def set_square_as_unoccupied(self, x, y):
self.dnd = (x, y)
# redraw square
GLib.idle_add(gv.gui.get_event_box(x, y).queue_draw)
# called from gui.py when editing the board position to set the piece
# on a square.
文章目录