Advanced Search
Mail us
Home    Manuel    Links    Faq    Submit a tcl/tk Reference    Contact Us

    Some examples tcl/tk codes     Man of Bwidget     Man of blt     mkwidget screenshots     TkOgl     Video Demo real.

  How can I detect when the canvas has been resized?
 You need to bind a command to the Configure event, like this:

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