Single-line text entry widget
The entry widget shows a text box for single-line user input.
Insert text into the entry widget.
positionType: integerOptionalOptional position at which to insert text. Defaults to inserting at the end of any text already in the entry widget.
textType: stringThe text to insert.
Select some or all of the text within the entry widget.
startposType: integerThe start of the region.
startposType: integerOptionalThe end of the region. Defaults to the end of the text in the entry widget.
Emitted when the entry widget is activated by pressing the
Emitted when the text within the entry widget changes.
Emitted when the position of the caret within the entry widget changes.
Emitted when a key is pressed while the entry widget has the input focus.
modifiersType: tableAn array of strings, one for each modifier key held.
keyType: stringThe key that was pressed, if printable, or a keysym otherwise.
trueif the event has been handled and should not be propagated further.
- 2010 Mason Larobina