I can add the menu through the following code
import pymel.core as pm
parent_object = pm.getPanel(sty="graphEditor")[0]
pm.menu("test_menu", parent=parent_object, label="Test Menu", tearOff=True
However as soon as I tear off the graph editor panel, I lose the menu. How
can I make this permanent for the graph editor window or any other scripted
panel?
Cheers
Pritish
--
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/08d0a77a-a497-460e-8c69-9ef5e8231a7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.