8 months later, and I stumble across this.

import shibokenfrom maya import OpenMayaUI as omui

channel_box_ptr = omui.MQtUtil.findControl("mainChannelBox")print
omui.MQtUtil.fullName(long(channel_box_ptr))#
MayaWindow|MainChannelsLayersLayout|ChannelsLayersPaneLayout|ChannelBoxForm|menuBarLayout1|frameLayout1|mainChannelBox

​-
http://download.autodesk.com/us/maya/2011help/API/class_m_qt_util.html#099521e61229f53ee417087e2795ddf1

Got a little deja-vu there.

It’s possibly implemented for backwards compatibility and not really
solving a real problem, as we established earlier in this thread. Just
thought I’d share in case someone was thinking of heading down the same qt
path. (pun!)
​

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOC0e_FkuGzwMGSKC1THEjATX%2ByaNdTDKkoAg40PycTLUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to