aboutsummaryrefslogtreecommitdiff
path: root/tof/pmenu-help.pd
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2010-05-27 21:35:31 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2010-05-27 21:35:31 +0000
commitc3fdeeb4feb97052336a624bbbb5cf821ee03551 (patch)
treeb415f0d491eadd83c0030a3643d7e199b1aee799 /tof/pmenu-help.pd
parentba3f7a4f80b4fc85785d2538c624cc201630cbd1 (diff)
Modified my dir structure
svn path=/trunk/externals/tof/; revision=13571
Diffstat (limited to 'tof/pmenu-help.pd')
-rw-r--r--tof/pmenu-help.pd66
1 files changed, 66 insertions, 0 deletions
diff --git a/tof/pmenu-help.pd b/tof/pmenu-help.pd
new file mode 100644
index 0000000..2c28f38
--- /dev/null
+++ b/tof/pmenu-help.pd
@@ -0,0 +1,66 @@
+#N canvas 1074 57 756 631 10;
+#X obj 221 187 key;
+#X msg 126 222 clear;
+#X obj 221 213 sel 65;
+#X text 267 213 <- Shift+A will open the menu;
+#X msg 47 63 add a bb ccc dddd eeeee;
+#X obj 45 498 print;
+#X msg 230 320 2;
+#X msg 261 321 3;
+#X text 201 62 add items;
+#X obj 265 417 r \$0pmenu;
+#X obj 332 422 bng 15 250 50 0 \$0pmenu empty empty 17 7 0 10 -262144
+-1 -1;
+#X msg 291 320 -1;
+#X msg 224 287 colors green purple grey;
+#X obj 45 459 tof/pmenu 1 1 black white red;
+#X text 298 536 3: background color (#000000 html or tk colors);
+#X text 296 551 4: foreground color (#000000 hmtl or tk colors);
+#X text 298 566 5: highlight color (#000000 html or tk colors);
+#X text 222 257 values can be tk colors(red \, blue \, etc) or html
+colors (#ffffff);
+#X text 221 241 colors: background foreground highlight;
+#X text 297 507 2: focus the item that was last selected when the menu
+pops. On (1) by default.;
+#X text 296 476 1: display the indicator (the little bullet next to
+item that was last selected). On (1) by default.;
+#X obj 37 18 cnv 15 400 30 empty empty empty 20 12 0 14 -261234 -66577
+0;
+#X obj 300 458 cnv 15 400 15 empty empty empty 20 12 0 14 -257985 -66577
+0;
+#X text 303 456 Creation arguments:;
+#X msg 87 153 add \$1;
+#X obj 87 130 cyclone/tosymbol;
+#X msg 87 107 with spaces;
+#X text 84 87 Adding items with spaces;
+#X obj 113 180 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X text 132 176 Pop the menu;
+#X text 249 179 You can assign any key to pop the menu (Shift+A) in
+this case.;
+#X text 322 319 Select and output a menu item by index;
+#X msg 276 349 set a;
+#X msg 290 371 symbol a;
+#X text 346 370 Select an item by name and output it;
+#X text 320 349 Select an item by name without outputing it;
+#X text 85 501 Output: index name;
+#X text 354 420 <- you can pop the menu from any gui by sending a bang
+to \$0pmenu (because a receive is associated to it);
+#X text 38 18 Description: pops a menu;
+#X text 40 31 Tags: ui;
+#X connect 0 0 2 0;
+#X connect 1 0 13 0;
+#X connect 2 0 13 0;
+#X connect 4 0 13 0;
+#X connect 6 0 13 0;
+#X connect 7 0 13 0;
+#X connect 9 0 13 0;
+#X connect 11 0 13 0;
+#X connect 12 0 13 0;
+#X connect 13 0 5 0;
+#X connect 24 0 13 0;
+#X connect 25 0 24 0;
+#X connect 26 0 25 0;
+#X connect 28 0 13 0;
+#X connect 32 0 13 0;
+#X connect 33 0 13 0;