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

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

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

Definition at line 470 of file model.py.

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

        # KEA 2004-03-05
        # an even slicker way of finding event handlers
        # using the inspect module
        pythoncardMethods = []
        # KEA 2004-05-09
        # if we use bound methods then we'll have to change the
        # initialization order so that Scriptable.__init__
        # is done after the object is actually created
        # all _dispatch methods have to be updated to use bound
        # methods if this is changed
        methods = inspect.getmembers(self.__class__, inspect.ismethod)
##        # use bound methods instead of the class unbound methods


Generated by  Doxygen 1.6.0   Back to index