'Cursor move event handler and validator'

def onmove(self, event):

    if (not self.ignore(event)):
        event = self._clean_event(event)
        self._onmove(event)
        return True
    return False
