charlie007
Programmer
I am just statrting to learn tk. I have some experience with tcl on linux and now I am working on winxp.
All I want to do is enter some text and have it echoed back with tk_messageBox. The problem: the entry box appears, but does not wait for me to enter any text. Do I need a bind to synchronize or -vcmd?
pack [entry .e -textvar e -width 50]
tk_messageBox -message "$e" -type okcancel -icon question
All I want to do is enter some text and have it echoed back with tk_messageBox. The problem: the entry box appears, but does not wait for me to enter any text. Do I need a bind to synchronize or -vcmd?
pack [entry .e -textvar e -width 50]
tk_messageBox -message "$e" -type okcancel -icon question