Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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