When I add the "wm attributes" to my tcl file and set the value of -topmost to be 1, then run the file, no window is created.
But if the value of -topmost is set to be 0, running the file, a window will pop out.
What's wrong with the "wm attributes"?
I installed tcl/tk8.4.7.
The following code is from my tcl file.
#!/usr/local/bin/wish
# Set window title
wm title . "Virtual Classroom"
wm geometry . 150x130
wm attributes . -topmost 1
Thank you.
But if the value of -topmost is set to be 0, running the file, a window will pop out.
What's wrong with the "wm attributes"?
I installed tcl/tk8.4.7.
The following code is from my tcl file.
#!/usr/local/bin/wish
# Set window title
wm title . "Virtual Classroom"
wm geometry . 150x130
wm attributes . -topmost 1
Thank you.