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  阅读(550)  评论(0)    收藏  举报