def get_text(self, index=None):
if index==None:<EOL><INDENT>return self.get_text(self.get_value())<EOL><DEDENT>else:<EOL><INDENT>return str(self._widget.itemText(index))<EOL><DEDENT>
Gets text from a given index. If index=None, returns the current value
self.get_text(self.get_value())