1
// This struct manages callbacks into Python. It is stored as the
2
// user data portion of a widget, and the PythonCallback function is
3
// set as the callback. PythonCallback unmarshalls the pointer to
4
// the Python function and Python user data and calls back into
8
#ifndef CallbackStruct_h
9
#define CallbackStruct_h
21
CallbackStruct( PyObject *theFunc, PyObject *theData, PyObject *theWidget, PyObject *theLink = 0):
26
CallbackStruct( PyObject *theFunc, PyObject *theData, void *theType):