def METHOD_NAME(self, widget, event):
    screen, x, y = self.device.get_position()
    if event.button != 1:
        return False
    self.grab_color_at_pointer(event, screen, event.x_root, event.y_root)
    return True