#NEWLINE# def onkeydown( self , new_value ) : #NEWLINE# #INDENT# "Called when the user types a key into the TextInput.\n\n        Note: This event can't be registered together with Widget.onenter.\n\n        Args:\n            new_value (str): the new string content of the TextInput.\n        " #NEWLINE# self . set_text ( new_value ) #NEWLINE# return self . eventManager . propagate ( self . EVENT_ONKEYDOWN , [ new_value ] )