diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2013-12-17 16:00:15 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2013-12-17 16:00:15 +0000 |
commit | 5555ad49577fa1e3157081f8a61364bead0f5f5b (patch) | |
tree | e7fb553318867b2aafb710641bdec9a171d37645 /help | |
parent | 450371402fe411beec6306e15dbd5bfae5f1f617 (diff) |
2nd outlet
svn path=/trunk/externals/iem/iemguts/; revision=17231
Diffstat (limited to 'help')
-rw-r--r-- | help/canvasname-abs.pd | 2 | ||||
-rw-r--r-- | help/canvasname-help.pd | 23 |
2 files changed, 18 insertions, 7 deletions
diff --git a/help/canvasname-abs.pd b/help/canvasname-abs.pd index 523d0ac..a03d617 100644 --- a/help/canvasname-abs.pd +++ b/help/canvasname-abs.pd @@ -2,5 +2,7 @@ #X obj 26 107 canvasname; #X obj 26 45 inlet; #X obj 26 182 outlet; +#X obj 103 145 outlet; #X connect 0 0 2 0; +#X connect 0 1 3 0; #X connect 1 0 0 0; diff --git a/help/canvasname-help.pd b/help/canvasname-help.pd index 432dff0..29f9ffe 100644 --- a/help/canvasname-help.pd +++ b/help/canvasname-help.pd @@ -1,21 +1,23 @@ -#N canvas 57 13 531 504 10; +#N canvas 4 49 606 504 10; #X msg 40 145 bang; -#X symbolatom 29 73 10 0 0 0 - - -; +#X symbolatom 29 73 10 0 0 0 - - -, f 10; #X obj 29 184 canvasname-abs; #X obj 21 14 canvasname; #X msg 29 265 bang; -#X symbolatom 67 310 10 0 0 0 - - -; -#X text 90 14 query and modify the name of a canvas; +#X symbolatom 67 310 10 0 0 0 - - -, f 10; +#X text 100 14 query and modify the name of a canvas; #X obj 29 217 print canvasname; -#X text 99 69 change the name of the canvas initially named 'canvasname-abs'. +#X text 109 69 change the name of the canvas initially named 'canvasname-abs'. When the patch is saved \, the new name for the canvas is saved with the patch. This is a good way to break patches!; -#N canvas 146 26 145 217 subpatch 0; +#N canvas 613 255 145 217 subpatch 0; #X obj 28 25 inlet; #X obj 28 85 canvasname; #X obj 28 169 outlet; +#X obj 95 122 outlet; #X connect 0 0 1 0; #X connect 1 0 2 0; +#X connect 1 1 3 0; #X restore 29 338 pd subpatch; #X text 74 261 This even works for subpatches \, though only the 'pd' part can be modifed. This way you can have subpatches whose names start @@ -25,11 +27,18 @@ with something different than 'pd'.; #X text 140 347 3 reopen the copy to inspect the modification; #X text 30 415 NOTE:; #X text 76 145 <- get the current canvas name; -#X text 30 432 To change the arguments of an abstraction \, use [canvasargs].; +#X text 30 432 To change the arguments of an abstraction \, use [canvasargs]. +; #X obj 29 364 print pd-subpatch; +#X obj 159 217 print canvas-displayname; +#X obj 159 364 print pd-displayname; +#X text 180 169 the 2nd outlet gives the name as displayed in the window-title. +; #X connect 0 0 2 0; #X connect 1 0 2 0; #X connect 2 0 7 0; +#X connect 2 1 18 0; #X connect 4 0 9 0; #X connect 5 0 9 0; #X connect 9 0 17 0; +#X connect 9 1 19 0; |