Created
October 6, 2017 18:16
-
-
Save KeyWeeUsr/02d51b287e47b035b5a14cfee6e8d1dc to your computer and use it in GitHub Desktop.
This file contains 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.base import runTouchApp | |
from kivy.uix.textinput import TextInput | |
class My(TextInput): | |
def insert_text(self, substring, from_undo=False): | |
print('A user inserted <{}>'.format(repr(substring))) | |
super(My, self).insert_text(substring, from_undo) | |
runTouchApp(My()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment