ViewModeAction.setAttribute ViewModeAction.setAttribute(self, arg__1: PySide6.QtCore.Qt.WidgetAttribute, on: bool = True) → None