[PyKDE] bug in QCanvas bindings.

James Grant jamesg at xtra.co.nz
Wed Apr 17 07:27:35 BST 2002


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: 1710 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20020417/6803f131/qcanvas.bin


More information about the PyQt mailing list