ViewModeAction.setContextMenuPolicy

ViewModeAction.setContextMenuPolicy(self, policy: PySide6.QtCore.Qt.ContextMenuPolicy) None