[PyQt] Accessing the underlying Qt object in a C-API extension.

Christian Caron ccaron at fattoc.com
Wed Aug 12 15:34:13 BST 2009


Hi All,

First things first: I think PyQt is awesome. Now onto the question.

I sometimes have small pieces of code that I would like to speed up  
using a C-API extension.
I'd like to be able to pass PyQt objects to an extension, and once  
inside dig up the internal Qt pointer...

Is this a difficult (or possible at all) thing to do?

I looked through the archives before posting but failed to find  
something relevant.

Sample code would be great.

Thanks,
Christian


More information about the PyQt mailing list