[PyQt] Pointer Attribute

Phil Thompson phil at riverbankcomputing.com
Tue Oct 25 08:56:02 BST 2016

On 24 Oct 2016, at 11:25 pm, Jay L. <jlaura at asu.edu> wrote:
> 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...

...then fix the sip errors.


More information about the PyQt mailing list