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