Logo Search packages:      
Sourcecode: matplotlib version File versions

def enthought::traits::ui::editor::Editor::__init__ (   self,
  parent,
  traits 
)

Initializes the editor object.

Definition at line 107 of file editor.py.

00107                                            :
        """ Initializes the editor object.
        """
        HasPrivateTraits.__init__( self, **traits )
        try:
            self.old_value = getattr( self.object, self.name )
        except AttributeError:
            # Getting the attribute will fail for 'Event' traits:
            self.old_value = Undefined
            
    #---------------------------------------------------------------------------
    #  Finishes editor set-up:  
    #---------------------------------------------------------------------------
                        
    def prepare ( self, parent ):


Generated by  Doxygen 1.6.0   Back to index