Hello everyone,

I can't figure out how to attach a maya popupMenu to a QlistWidget (or 
QlistView).

It works fine when i attach it to a QFrame for example, but nothing append 
when calling it on a QlistWidget.
My Pointer to the QlistWidget seems fine to me as it print 
|||testListWidget (and ||frame0 when attaching on a QFrame, and working 
inside hat Qframe).

self.listWdtPointer  = long(shiboken2.getCppPointer(self.listWdt)[0])

self.listWdtPointerFullPathName = omui.MQtUtil.fullName(self.listWdtPointer)

                print self.listWdtPointerFullPathName* ---->  
|||testListWidget*

                
cmds.popupMenu(mm=True,parent=self.listWdtPointerFullPathName)
cmds.menuItem(rp='N',l='Test')

Has anyone ever experienced that issue ?

Thanks

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/e3f1092b-f301-4dd9-9972-b4e4965d6780%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to