Window to get a single line of input from the user. Contains an optional label, an entryfield, and OK and Cancel buttons.
def __init__(self, width = 30, labelText = None, initText = None):
Constructs an EntryBox with an entry field of the given width.
If labelText is provided, a label is constructed at the top of the
window with the given text.
Displays the window and returns the text that is received from the user. If
the cancel button is pressed, returns None.
cancelPressed(self)
def cancelPressed(self):
okPressed(self)
def okPressed(self):
show(self)
def show(self):