[PyKDE] bug in QCanvas bindings.

James Grant jamesg at xtra.co.nz
Wed Apr 17 08:13:08 BST 2002


Actually, I missed a few spots /TransferThis/ needed adding, the corrected 
patch attached to this message fixes the bug. 

On Wed, 17 Apr 2002 17:27, James Grant wrote:
> Hi,
>
> When I was creating QCanvasItems i noticed they were disappearing from the
> QCanvas when they moved out of scope. When I create a global that
> references them they stay.
>
> I'm guessing the problem has something to do with QCanvasItem and friends
> missing the /TransferThis/ directive. I've tried recompiling with this on
> QCanvasItem, QCanvasRectangle etc. But it still doesn't seem to work.
>
> Attached is a patch against CVS of what I tried.
>
> Any ideas?

-- 
James.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qcanvas.patch
Type: text/x-diff
Size: 2214 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20020417/c2b93e3d/qcanvas.bin


More information about the PyQt mailing list