[PyKDE] How to use sip.voidptr to access the data itself

Phil Thompson phil at riverbankcomputing.co.uk
Tue Sep 30 21:02:01 BST 2003


On Tuesday 30 September 2003 7:44 pm, sfang wrote:
> Hello, Guys,
> It is my first time to use pyQT to design a project, there, I have QImage
> Object and want to access the pixel operation. so I get a sip.voidptr
> through QImage.bits(), now question is I can access every [isel data
> through sip.voidptr object, any idea was welcome.

As the documentation says, this can only really be used by another (C++) 
extension.

Phil




More information about the PyQt mailing list