#NEWLINE# def set_text( self , text ) : #NEWLINE# #INDENT# 'set the text field.' #NEWLINE# if ( text in [ None , '' ] ) : #NEWLINE# #INDENT# return self . jsonrpc . clearTextField ( self . selector ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . jsonrpc . setText ( self . selector , text )