#NEWLINE# def onBrowserEvent( self , event ) : #NEWLINE# #INDENT# TextBox . onBrowserEvent ( self , event ) #NEWLINE# type = DOM . eventGetType ( event ) #NEWLINE# if ( type == 'blur' ) : #NEWLINE# #INDENT# for _listener in type . _blurListeners : #NEWLINE# #INDENT# if hasattr ( _listener , 'onBlur' ) : #NEWLINE# #INDENT# _listener . onBlur ( self ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# _listener ( self )