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
.
Added in version 4.1/wxWidgets-3.1.1.
Class Hierarchy¶
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. |
Properties Summary¶
See |
Class API¶
- class wx.RotateGestureEvent(GestureEvent)¶
Possible constructors:
RotateGestureEvent(windid=0) -> None
This event is generated when two fingers move in opposite directions on the surface.
Methods¶
- __init__(self, windid=0)¶
Constructor.
- Parameters:
windid (wx.WindowID)
- Return type:
None
- GetRotationAngle(self)¶
Returns the total angle of rotation in radians in clockwise direction since the gesture was first started i.e.
when
IsGestureStart
returnedTrue
. This value is always greater than or equal to zero.- Return type:
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
returnedTrue
. This value is always greater than or equal to zero.- Parameters:
rotationAngle (float)
- Return type:
None
Properties¶
- RotationAngle¶
See
GetRotationAngle
andSetRotationAngle