def save_prefs ( self ):
        # If the view closed successfully, try to update the history with the
        # current value:
        if self.ui.result:
            self._dont_update = True
            self.history.set_value( self.value )
            self._dont_update = False

        return { 'history': self.history.history[:] }

# EOF #########################################################################
Returns any user preference information associated with the editor.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/history_editor.py/_HistoryEditor.save_prefs