Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wm attributes

Status
Not open for further replies.

ysrise

Programmer
Sep 22, 2004
4
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top