wx.PanGestureEvent¶This event is generated when the user moves a finger on the surface.
wxGTK also generates this event during mouse dragging (mouse motion while a left mouse button is depressed).
Note that OSX requires the primary mouse button to be pressed while performing the finger movement.
^^
Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.PanGestureEvent parameter.
EVT_GESTURE_PAN: Process a wxEVT_GESTURE_PAN . ^^
New in version 4.1/wxWidgets-3.1.1.
Class Hierarchy¶
Inheritance diagram for class PanGestureEvent:

Methods Summary¶Constructor. |
|
Returns the distance covered since the previous panning event. |
|
Sets the distance covered since the previous panning event. |
Properties Summary¶
Class API¶wx.PanGestureEvent(GestureEvent)¶Possible constructors:
PanGestureEvent(winid=0)
This event is generated when the user moves a finger on the surface.
__init__(self, winid=0)¶Constructor.
winid (wx.WindowID) –
GetDelta(self)¶Returns the distance covered since the previous panning event.
SetDelta(self, delta)¶Sets the distance covered since the previous panning event.
delta (wx.Point) –