[PyKDE] Using SIP to wrap python objects

Rob Knapp myddrin at myddrin.com
Fri Jun 13 04:00:01 BST 2003


On Thursday 12 June 2003 09:05 pm, Frederick Polgardy Jr wrote:

> Why not write what's called (in "Patterns" speak) an Adaptor class: one
> which provides its own interface, and keeps track of the Python objects it
> needs to use internally.  What kind of interface is the target application
> expecting?

That is basically what we would be looking for SIP to do, just as it does for 
C++ to python bindings.   Basically, we would rather have someone send an 
hour writting a SIP definition than a few days writing a C++ class.  

The target interface is a QObject, so we though that sip would be a good 
start.
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde




More information about the PyQt mailing list