entry
An entry widget allows input of a one line string. An example of an entry widget:
label .l -text "Enter your name" entry .e -width 40 -textvariable your_name
would display a label widget named .l
showing the string Enter
your name
and an entry widget named .e
of width 40 characters.
The value of variable your_name
will reflect the string in the
entry widget: as the entry widget string is updated, so is the value of
the variable. Similarly, changing the value of your_name
in a
Tcl script will change the string displayed in the entry field.