On Monday 27 June 2011 12:42:40 Thomas Perl wrote:
> Hi,
> 
> 2011/6/27 Hugo Parente Lima <[email protected]>:
> > We don't have any equivalent way of doing what sip.wrapinstance does.
> > Although if you are compiling your own PySide you can write an small
> > code injection on PySide typesystem to add this function.
> > [...]
> > You may ask, why you didn't add this code to PySide already? simple...
> > because QtCore isn't the right place for it, but a separated module
> > probably called "shiboken" and we didn't it yet.
> 
> Nice :) So, is there a wiki page or a bug report that collects ideas
> and features that should go into that "shiboken" module?

Not yet, but would be nice to have one, maybe a bug report pointing to a wiki 
page, at the moment what comes to my mind is:

# returns true if the python object is valid
shiboken.isValid(obj)

# create an instance based on the given address and type
shiboken.wrapInstance(long, type)

# prints internal information about the object to stderr,
# just for debugging purposes.
shiboken.printInfo(obj)
 
> Thanks,
> Thomas

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to