

def on_index_changed(self, index):
    ' The signal handler for the index changed signal.\n\n        '
    if (not (self._guard & SELECTED_GUARD)):
        self._guard |= SELECTED_GUARD
        try:
            item = self.declaration.items[index]
            self.declaration.selected = item
        finally:
            self._guard &= (~ SELECTED_GUARD)

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_object_combo.py QtObjectCombo.on_index_changed/original