Gesture widget: a widget with on_gesture event implementation

Gesture widget: a widget with on_gesture event implementation

class pymt.ui.widgets.gesturewidget.MTGestureWidget

Bases: pymt.ui.widgets.widget.MTWidget

Detect a stroke, it in a Gesture and dispatch it in an event.

Events :
on_gesture (Gesture g, Touch touch)

Fired when a stroke is finished

Previous topic

Flippable Widget: A widget with 2 sides who can flip between the sides.

Next topic

MTImage: MTImage displays an image on the screen that can be repositioned.

This Page