Slider.setContextMenuPolicy

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