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
.
Added in version 4.1/wxWidgets-3.1.1.
Class Hierarchy¶
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¶
- class wx.PanGestureEvent(GestureEvent)¶
Possible constructors:
PanGestureEvent(winid=0) -> None
This event is generated when the user moves a finger on the surface.
Methods¶
- __init__(self, winid=0)¶
Constructor.
- Parameters:
winid (wx.WindowID)
- Return type:
None
- GetDelta(self)¶
Returns the distance covered since the previous panning event.
- Return type:
- SetDelta(self, delta)¶
Sets the distance covered since the previous panning event.
- Parameters:
delta (wx.Point)
- Return type:
None
Properties¶