textinput widget events kivy code example
Example: kivy password mask
from kivy.base import runTouchApp
from kivy.lang import Builder
KV = '''
BoxLayout:
CheckBox:
id: cb
TextInput:
password: True
multiline: cb.active
'''
runTouchApp(Builder.load_string(KV))