> We are planning to use SWIG to call C methods from Tcl/Tk script.
> What is the best way to invoke callbacks from C methods to Tcl/Tk procedures?
> Does SWIG support callbacks?
SWIG will write the main program code for you. You can put code
into the %init block to save the interpreter pointer (interp).
From your C code, you can then call Tcl_Eval(interp,"command");
Mayo Foundation (507) 284-2702
Rochester MN, 55905 USA http://www.*-*-*.com/