We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e59b9a8 commit f1f79fcCopy full SHA for f1f79fc
1 file changed
module_kivy/kivy_touchvsmotion/main.py
@@ -10,6 +10,10 @@ def on_touch_move(self, touch):
10
if 'pos' in touch.profile:
11
self.ids.button1.pos = touch.pos
12
13
+ def on_touch_down(self, touch):
14
+ if 'button' in touch.profile:
15
+ self.ids.button1.text = touch.button
16
+
17
18
class MyApp(App):
19
def build(self):
0 commit comments