52
55
'The item "{0}" is not removable'.format(self.objectName))
54
57
def _drag_pointing_device_to_delete(self, direction):
55
x, y, w, h = self.globalRect
58
x, y, width, height = self.globalRect
60
self.pointing_device.drag(tx, ty, w, ty)
66
self.pointing_device.drag(start_x, start_y, stop_x, stop_y)
61
67
elif direction == 'left':
62
self.pointing_device.drag(w - (w*0.1), ty, x, ty)
70
self.pointing_device.drag(start_x, start_y, stop_x, stop_y)
64
72
raise _common.ToolkitException(
65
73
'Invalid direction "{0}" used on swipe to delete function'