This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Show border | |
| =========== | |
| Shows widget's border. | |
| The idea was taken from | |
| http://robertour.com/2013/10/02/easy-way-debugging-kivy-interfaces/ | |
| ''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from kivy.clock import Clock | |
| from kivy.uix.label import Label | |
| class RefLabel(Label): | |
| __events__ = ['on_ref_relase'] | |
| def on_touch_up(self, touch): | |
| if super(Label, self).on_touch_up(touch): | |
| return True |