A java-style choice control: a drop down list.
def __init__(self, parent, contents = [], default = None ):
Constructor. Contents
Adds a new choice to the list (choice is a string).
Gets the currently active selection.
Sets the selection to that given. Does not verify that selection is a
valid choice.
addChoice(self, choice)
def addChoice(self, choice):
get(self)
def get(self):
setSelection(self, selection)
def setSelection(self, selection):