Forum Discussion
Altera_Forum
Honored Contributor
17 years agoThanks jt2,
Adding init_tk does make it understand the commands. But I still don't get a window with buttons open when running it as a script. It works in the QII tcl console! I'm no tcl/tk expert, as an experiment I am trying to run the following code in the script. QII reports that evaluation of the script was successful but I get no window pop up. init_tk toplevel .window button .window.hello -text Hello pack .window.hello -padx 20 -pady 20