

def update_object(self, event):
    ' Handles the user entering input data in the edit control.\n        '
    if ((not self._no_update) and (self.control is not None)):
        try:
            self.value = self._get_user_value()
            if (self._error is not None):
                self._error = None
                self.ui.errors -= 1
            self.set_error_state(False)
        except TraitError as excp:
            pass

dataset/ETHPy150Open enthought/traitsui/traitsui/wx/text_editor.py SimpleEditor.update_object/original