def getSelectedIndex(self):
        return DOM.getIntAttribute(self.getElement(), "selectedIndex")
returns the selected item's index on a single-select
dataset/ETHPy150Open anandology/pyjamas/library/gwt/ui/ListBox.py/ListBox.getSelectedIndex