I'm sure this must be simple. I'm trying to update the text within a text box, but seem to be having trouble.
e.g. in the additional code I have the line:
.text#1 -insert "Hello world"
which I'm hoping will put the words "Hello world" in the text box.
On a different note, is there some way that I can insert the current date (according to the OS) into a variable?
.text#1 insert end "Hello world"
or better still
$base.text#1 insert end "Hello world"
since this would work for any toplevel window
Read the manual for the "clock" command for the other question.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.