SWIG/Examples/python/extend/
Implementing C++ callbacks in Python
This example illustrates how to use directors to implement C++ callbacks in Python.