def stopMove(event): logging.debug('STOP !') sendMessage('STOP') #Draw line GUI.makeMove(globalVar.currentMoveType, globalVar.getDeltaT())