diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2004-12-10 20:47:06 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2004-12-10 20:47:06 +0000 |
commit | 5af9cc14b70f907f0d10a75aa28ad04bbd65ec0d (patch) | |
tree | eaa75a18523d97c6e47c8ccec59365948b0082f7 /test/toxy | |
parent | 155fa2c04c7e415803e1546dcde0a47442eef4b3 (diff) |
restricted debug garbage to krzYszcz, few fixes in toxy
svn path=/trunk/externals/miXed/; revision=2364
Diffstat (limited to 'test/toxy')
-rw-r--r-- | test/toxy/testmess.wid | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/test/toxy/testmess.wid b/test/toxy/testmess.wid index 3263fa4..0481e2f 100644 --- a/test/toxy/testmess.wid +++ b/test/toxy/testmess.wid @@ -1,4 +1,4 @@ -puts setup +puts "setup script: evaluated once per Pd session" proc testmess_list {path target args} { set sum 0 @@ -25,10 +25,23 @@ proc testmess_command {path} { #. @float testmess_list .- .| .#args #. @list testmess_list .- .| .#args -puts initializer +puts "\nwidget initializer: evaluated whenever a Tk widget is created" +puts "which may happen several times during Pd object\'s lifetime" +puts "widget needs reinitializing after:" +puts ". closing and reopening of a subpatch window" +puts ". minimizing and maximizing a window" +puts ". switching virtual desktops" #@ new -puts constructor +puts "\nconstructor: evaluated once per Pd object" +puts "(after Pd object creation, before Tk widget creation)" + +#@ vis +puts "another initializer part added from \"#@ vis\" block" #@ free -puts destructor +puts "\ndestructor: evaluated once, after Pd object destruction" +puts "(Tk widget should be already gone)" + +#@ ini +puts "yet another initializer part added from \"#@ ini\" block" |