def on_index_changed(self):
        if not self._guard & INDEX_GUARD:
            self.declaration.index = self.widget.currentIndex()

    #--------------------------------------------------------------------------
    # ProxyComboBox API
    #--------------------------------------------------------------------------
The signal handler for the index changed signal.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_combo_box.py/QtComboBox.on_index_changed