This class represents a dialog that requests a one-line text string from the user. It is implemented as a generic Widgets dialog.
TextEntryDialog.new(Window parent, String message,
String caption = "Please enter text",
String defaultValue = "",
Integer style = OK CANCEL CENTRE,
Point pos = DEFAULT_POSITION)
Constructor. Use TextEntryDialog#show_modal to show the dialog.
TE_PASSWORD) may be specified here.destructor()
Destructor.
String get_value()
Returns the text that the user has entered if the user has pressed OK, or the original value if the user has pressed Cancel.
set_value(String value)
Sets the default text value.
Integer show_modal()
Shows the dialog, returning ID_OK if the user pressed OK, and ID_CANCEL otherwise.
[This page automatically generated from the Textile source at Thu May 01 00:50:46 +0100 2008]