def METHOD_NAME(self, event_cb):
    """Execute as a callback when the pointer moves in the 3D view.
    It should automatically update the coordinates in the widgets
    of the task panel.
    """
    event = event_cb.getEvent()
    mousepos = event.getPosition().getValue()
    ctrl = event.wasCtrlDown()
    self.point = Gui.Snapper.snap(mousepos, active=ctrl)
    if self.ui:
        self.ui.displayPoint(self.point)