[PyQt] Pointer Attribute

Jay L. jlaura at asu.edu
Mon Oct 24 23:25:14 BST 2016


I have a class with an attribute that is a pointer:

public:
  SiftPoint *h_data

I can write %MethodCode to expose a custom 'get_h_data()' method,  How
should I expose the attribute directly, e.g. my_py_class.h_data,

I tried %MappedType, but am getting sip errors...

Thanks!
J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161024/921c514a/attachment.html>


More information about the PyQt mailing list