Artifact
3574fdccd021eba29cdbb9945583d7faad8591e4b04fe060766f1b71e2ede435:
Attachment "exercise.tcl" to
ticket [2ef5dd80]
added by
erikleunissen
2026-07-30 11:58:44.
proc handleEvent {W E args} {
puts "$W $E"
}
pack propagate . 0
pack [frame .f -width 100 -height 100 -bg blue]
update
after 1000
bind all <Unmap> [list handleEvent %W <Unmap>]
bind all <Expose> [list handleEvent %W <Expose>]
pack forget .f
update
puts "frame .f ought be removed from the screen"
after 2000
bind all <Unmap> {}
bind all <Expose> {}
exit