[SOLVED] get c++ pointer for the messenger

Im using python and c++ (wrapping via cython) and I wish to pass the pointer of the messenger (which is a python object) into a c++ class. I have done this with NodePath and other panda objects by using .this to get the pointer. However, .this does not work on the messenger (AttributeError: Messenger instance has no attribute ‘this’).

I am not sure if I missed something in the API’s or what, but a kick in the right direction would be great.


It seems I was misreading the information on throwing events in c++. Its solved now.