Hello,
In here:
I have been give a way to extend a class popup menu. However, I have problems connecting a new menu to a method defined in python, since the TClassMenuItem requires char*. Is there a way to connect it to method in python?
Hello,
In here:
I have been give a way to extend a class popup menu. However, I have problems connecting a new menu to a method defined in python, since the TClassMenuItem requires char*. Is there a way to connect it to method in python?
Hi,
you mean this method: virtual void SetCall(TObject *obj, const char *method,
const char *args="", Int_t selfobjposition = 0)
{ fCalledObject = obj; fFunctionName = method;
fArgs = args; fSelfObjectPos = selfobjposition;}
No idea … looks like it requires pythonization on the C++ side first, which would be a larger project. Hopefully I can find some time later this week.
Cheers,
Wim