0
votes

In my script, I didn't explicitly define a top level window. Now I want to change the title for the window (by default the title is the script name) by the following code:

ttk::notebook .nb_whole
wm title .nb_whole "ok"

but the error message said the .nb_whole is not the top window. How to deal with this issue?

1

1 Answers

4
votes

The top level window of your application is named .. wm title . ok should work.

Documentation: wm