The Personal Web Pages of Chris X. EdwardsA Simplified Tk Reference |
Keyword: | entry |
Description: | Allows a single line text input. |
Example: | label .l -text "Enter some text and watch its value change." entry .name -width 50 -bg yellow -textvar lname \\ -validate key -validatecommand {puts $lname; return 1} pack .l .name -side top |
Example: | What the console displays. Notice it lags the input because the validate command is run before the character is accepted. |
Official Syntax: |
http://www.scriptics.com/man/tcl8.4/TkCmd/entry.htm |
Previous | Home | Next |
This page was created with only free, open-source, publicly licensed software.
This page was designed to be viewed with any browser on any system. | ||
Chris X. Edwards ~ January 2004 |