Logo Search packages:      
Sourcecode: matplotlib version File versions

def enthought::traits::ui::editor::Editor::dispose (   self  ) 

Disposes of the contents of an editor.

Definition at line 144 of file editor.py.

00144                         :
        """ Disposes of the contents of an editor.
        """
        self.object.on_trait_change( self._update_editor, self.name, 
                                     remove = True )
        if self._user_from is not None:
            for name, value in self._user_from.items():
                user_object, user_name, editor_name, key, is_list = value
                self.on_trait_change( self._editor_trait_modified,
                                      editor_name, remove = True )
                if is_list:
                    self.on_trait_change( self._editor_list_modified,
                                      editor_name + '_items', remove = True )
                    
        if self._user_to is not None:
            for name, value in self._user_to.items():
                user_object, user_name, editor_name, key, is_list = value
                user_object.on_trait_change( self._user_trait_modified,
                                             user_name, remove = True )
                if is_list:
                    user_object.on_trait_change( self._user_list_modified,
                                           user_name + '_items', remove = True )
       
    #---------------------------------------------------------------------------
    #  Gets/Sets the associated object trait's value:
    #---------------------------------------------------------------------------
    
    def _get_value ( self ):


Generated by  Doxygen 1.6.0   Back to index