#NEWLINE# def update_object( self ) : #NEWLINE# #INDENT# ' Handles the user entering input data in the edit control.\n        ' #NEWLINE# if ( not self . _locked ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# value = self . control . GetText ( ) #NEWLINE# if isinstance ( self . value , SequenceTypes ) : #NEWLINE# #INDENT# value = value . split ( ) #NEWLINE# #UNINDENT# self . value = value #NEWLINE# self . control . SetBackgroundColour ( OKColor ) #NEWLINE# self . control . Refresh ( ) #NEWLINE# #UNINDENT# except TraitError as excp : #NEWLINE# #INDENT# pass