def setOptions(self,lst):
        while self.getTag('option'): self.delChild('option')
        for opt in lst: self.addOption(opt)
Set label-option pairs list associated with this field.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/DataField.setOptions