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.
Class Hierarchy¶
Inheritance diagram for class RotateGestureEvent:
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¶wx.RotateGestureEvent(GestureEvent)¶Possible constructors:
RotateGestureEvent(windid: int=0) -> None
This event is generated when two fingers move in opposite directions on the surface.
__init__(self, windid: int=0)¶Constructor.
windid (wx.WindowID) –
None
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 : float)¶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) –
None
RotationAngle¶See GetRotationAngle and SetRotationAngle