[PyQt] Pointer Attribute
jlaura at asu.edu
Tue Oct 25 14:32:12 BST 2016
Unfortunately, the sip error is non-specific. It looks like what I
actually need to use is %GetCode and %SetCode.
On Tue, Oct 25, 2016 at 12:56 AM, Phil Thompson <phil at riverbankcomputing.com
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt