Returns a newly created gtk.gesture.Gesture that recognizes pan gestures.
Connect to Pan signal.
Returns the orientation of the pan gestures that this gesture expects.
Sets the orientation to be expected on pan gestures.
Gets the offset from the start point.
Gets the point where the drag started.
Connect to DragBegin signal.
Connect to DragEnd signal.
Connect to DragUpdate signal.
gtk.gesture_pan.GesturePan is a gtk.gesture.Gesture for pan gestures.
These are drags that are locked to happen along one axis. The axis that a gtk.gesture_pan.GesturePan handles is defined at construct time, and can be changed through gtk.gesture_pan.GesturePan.setOrientation.
When the gesture starts to be recognized, gtk.gesture_pan.GesturePan will attempt to determine as early as possible whether the sequence is moving in the expected direction, and denying the sequence if this does not happen.
Once a panning gesture along the expected axis is recognized, the gtk.gesture_pan.GesturePan.pan signal will be emitted as input events are received, containing the offset in the given axis.