resize canvas

to bind a command to the Configure event, like this:

bind .canvas <Configure> { puts "%W is now %w %h" }

posted @ 2013-08-05 09:32  greencolor  阅读(539)  评论(0编辑  收藏  举报