Creating an entry widget
Perhaps the most commonly used widget for collecting information from the end user is the entry widget. The entry widget displays a single-line input area. The widget allows the end user to enter or edit the string within the widget.
The keywords are as follows:
Standard keyword |
Interpretation |
---|---|
|
Specifies the background color to be used when drawing the element. |
|
Specifies a non-negative value indicating the width of the 3D border to draw around the outside of the window. |
|
Specifies the mouse cursor to be used for the window. |
|
Specifies if a selection within the widget should also be the X selection. This keyword accepts a Boolean value such as ... |
Get Tcl/Tk 8.5 Programming Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.