[Maya - python] Suppressing marking menu in viewport

Hi - maybe someone will know this. Is there a way to suppress a marking menu in the model editor widget?
I want to create a small viewport to create snapshots for pose library and I don’t want people to use marking menu in it :slight_smile: