X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=example;fp=example;h=b1a9c862236e90c57b6bc0196f1c00d64d51ad83;hb=dab74bc8b4245e9808a256d4c0e38b9c055078e4;hp=588f3cade9975d1b6061d804a25e57348408eaf7;hpb=e83279661ca71a95d236df97655761f6d77b4fd8;p=chiark-tcl-applet.git diff --git a/example b/example index 588f3ca..b1a9c86 100755 --- a/example +++ b/example @@ -25,7 +25,7 @@ fconfigure stdout -buffering line set status none -proc innerwindow-destroying {} { +proc destroying {} { global status puts "DESTROYING $status" switch -exact $status { @@ -35,7 +35,7 @@ proc innerwindow-destroying {} { } } -proc innerwindow-ready {} { +proc ready {} { global status puts "READY $status" switch -exact $status { @@ -90,4 +90,4 @@ proc child-died {how how2} { } } -setupinnerwindow 40 +applet::setup-subwindow 40 destroying ready