def copy_fen(self): output = StringIO() clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD) clipboard.set_text( fen.save(output, self.gamemodel, self.board.view.shown), -1)
def copy_fen(self): output = StringIO() clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD) clipboard.set_text( fen.save(output, self.gamemodel, self.board.view.shown), -1)