def set_modality(self, modality):
        self.widget.setWindowModality(MODALITY[modality])
Modifies an instance.
dataset/ETHPy150Open nucleic/enaml/enaml/qt/qt_window.py/QtWindow.set_modality--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/instance_set_params.py/LUInstanceSetParams.Exec