August 2015
Intermediate to advanced
246 pages
4h 21m
English
There is a useful tool provided by Kivy that permits us to recognize the shape of the touch that is performed. In this recipe, we will go through the foundations of using it.
In this recipe, we will use the Kv language for the design of the widgets, so we assume that the reader is familiar with the Kv language. Also, this recipe will use the common button and label widgets for reference.
Follow these steps:
<MyW>:
Button:
id: button1
pos: 0,0
text: 'Hello'
Label:
id: label1
pos: 50, 200
text: ''on_touch_move.touch.pos ...Read now
Unlock full access