Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def PythonCard-0.8.1::component::Scriptable::_parseHandlers (   self  )  [private]

Find all of the methods in this object that are
PythonCard handlers, and register them.

Definition at line 54 of file component.py.

00054                                :
        """
        Find all of the methods in this object that are
        PythonCard handlers, and register them.
        """
        found = []
        methods = inspect.getmembers( self, inspect.ismethod )
        for m in methods :
            if m[ 0 ].split( '_' )[ 0 ] == 'on' :
                found.append( m[ 1 ] )
        map( self._addHandler, found )

    def _isPythonCardHandler( self, aObject ) :


Generated by  Doxygen 1.6.0   Back to index