

def getter(self, widget):
    '\n        Return the itemData stored in the currently-selected item\n        '
    if (widget.currentIndex() == (- 1)):
        return None
    else:
        return widget.itemText(widget.currentIndex())

dataset/ETHPy150Open glue-viz/glue/glue/utils/qt/widget_properties.py CurrentComboTextProperty.getter/original