I had assumed detecting swipes would be easy. I found no documentation on this so I'm asking
what is the correct way to detect swipes?By Swiping I mean
http://youtu.be/WZswKaYSkSo?t=14sI need to
integrate swipe into ScreenManager. Carousel is too simple.
I've found two methods, I'll call them Complex and Overkill:
1.
Complex: Rip it from (for example) the Carousel widget, through these functions:
def _get_uid(self, prefix='sv'):
def on_touch_down(self, touch):
def on_touch_move(self, touch):
def on_touch_up(self, touch):
def _do_touch_up(self, touch, *largs):
2.
Overkill: Use Gesture recognition from
http://kivy.org/docs/api-kivy.gesture.html---
Extra: It would be awesome if the Screen transition would start during swipe, not after. Just like in Carousel.