Textentry class derives from Area class and creates single-line text entry widgets which can be used to enter a text string.
By default, text entry widgets do not have any label next
to them. If you want to have a label next to your
text entry widget, you need to put it into a <hgroup>
and then use Label class to put a label next to it.
The XML tag's content is used as the initial contents of the text entry widget.
Here is an XML example of a text entry widget:
<textentry id="mytextentry"/> |
Note that Textentry class only supports single line widgets. If you need a multi-line text entry widget, you have to use Texteditor class instead. See Texteditor class for details.