You need to bind a command to the Configure event, like this: bind .canvas { puts "%W is now %w %h" }