Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SimpleCard(MDCard):
- def __init__(self, **kwargs):
- super(SimpleCard, self).__init__(**kwargs)
- self.show_area()
- def on_touch_down(self, touch):
- print self.id
- # Do stuff here and kill the event
- return True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement