wx.RotateGestureEvent¶This event is generated when two fingers move in opposite directions on the surface.
^^
Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.RotateGestureEvent parameter.
EVT_GESTURE_ROTATE: Process a wxEVT_GESTURE_ROTATE . ^^
New in version 4.1/wxWidgets-3.1.1.
Methods Summary¶Constructor. |
|
Returns the total angle of rotation in radians in clockwise direction since the gesture was first started i.e. |
|
Sets the total angle of rotation in radians in clockwise direction since the gesture was first started i.e. |
Class API¶wx.RotateGestureEvent(GestureEvent)¶Possible constructors:
RotateGestureEvent(windid=0)
This event is generated when two fingers move in opposite directions on the surface.
__init__(self, windid=0)¶Constructor.
windid (wx.WindowID) –
GetRotationAngle(self)¶Returns the total angle of rotation in radians in clockwise direction since the gesture was first started i.e.
when IsGestureStart returned True. This value is always greater than or equal to zero.
float
SetRotationAngle(self, rotationAngle)¶Sets the total angle of rotation in radians in clockwise direction since the gesture was first started i.e.
when IsGestureStart returned True. This value is always greater than or equal to zero.
rotationAngle (float) –
RotationAngle¶See GetRotationAngle and SetRotationAngle