def update_object ( self, event ):
        try:
            value = self.control.GetValue()
            value = eval( value )
        except:
            pass
        try:
            self.value = value
        except TraitError as excp:
            pass

#-------------------------------------------------------------------------------
#  Parse a value into a list:
#-------------------------------------------------------------------------------
Handles the user changing the contents of the edit control.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/check_list_editor.py/TextEditor.update_object