--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/BL3PR10MB61639DFE04B08ABB150636B5F6B2A%40BL3PR10MB6163.namprd10.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAqkenkr4Zmp%3D4wwQT44f17o7cmw3x8yAkjQD22uJaJ%3DQ%40mail.gmail.com.
In that case, I can think of 2 options.
cmds
you could use to manipulate already-created tabs, I’m not familiar with this part myself so can’t say for surecmds
does it is Qt that is ultimately drawing the tabs, which means you can access them via PySide to perform further manipulationI suspect there is a method of converting a widget created via cmds
to its corresponding Qt widget, from there you can navigate the widget via widget.parent()
and widget.children()
until you find the QTabWidget or whichever widget is doing the drawing of tabs. If there isn’t such a method, you can navigate from top-down via PySide.QWidgets.QApplication.instance()
or by finding the Maya main window.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CADHeb2YMEGtjZ%2B7eyPNxwkMBjpLdAPkNMv-rdJJg8Eiu5hdn6w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCMOmhg7O132tSguZKqkN2cS9%3DG8weu1YKfe903RkRpUA%40mail.gmail.com.