This may be more of a MEL question, but does anyone know if it's possible to make an option box in a shelf button's right click menu? Something like this works in a typical menu, but I can't seem to make it (or rather, its MEL equivalent) work in a shelf button menu.
cmds.menuItem(label='Option')
cmds.menuItem(optionBox=True)
Any insight?
Thanks,
Dave