Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何告诉 Tk 小部件告诉我它的孩子是什么(或可能是谁)?有这个命令吗?
例如,给定一个.cvs带有标签、按钮和其他装饰的画布小部件……如何询问画布?
.cvs
winfo children $widget
见http://www.tcl.tk/man/tcl8.5/TkCmd/winfo.htm#M8