def __init__(self, form, label): Widget.__init__(self, form, label) self.set_choices(['Choice 1','Choice 2','Choice 3'])
def copy_to(self, widget): Widget.copy_to(self, widget) widget.choices = self.choices
def __init__(self, form, label): Widget.__init__(self, form, label)