因为我的工作台tcl/tk版本是8.5,有没有其他方法可以用tcl/tk 8.5实现下面的功能?谢谢!
proc example {} {
tk busy .top
update
tk busy forget .top
exec ....
}发布于 2017-09-13 15:10:45
[update]。如果您认为您真的应该使用它,请三思而后行;-)有关更多信息,请参阅this。
1. bring it to front — the [`[focus] command`](http://tcl.tk/man/tcl8.5/TkCmd/focus.htm);
2. make it "stay on top" — the [`[wm attributes -topmost]` command](http://tcl.tk/man/tcl8.5/TkCmd/wm.htm).完成操作后,销毁或隐藏(撤回)窗口。
This page还解释了BLT工具包是如何实际实现忙窗口的,并给出了进一步的说明。
https://stackoverflow.com/questions/46187746
复制相似问题