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を参照