At now i start to use PySide. It does not have sip and unwrapinstance, so how to get fullPath of qt control?
The equivalent of sip for PySide is shiboken:
import shiboken
ptr = long(shiboken.getCppPointer(obj)[0])
On Apr 6, 2013, at 12:46 AM, vux wrote:
> In PyQt i had function to get maya-style path of qt control:
> def qControlPath( ctl ):
> return apiui.MQtUtil.fullName( long(unwrapinstance(ctl)) )
>
> At now i start to use PySide. It does not have sip and unwrapinstance, so how to get fullPath of qt control?
>
> --
> You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.