aboutsummaryrefslogtreecommitdiff
path: root/help/menubutton-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'help/menubutton-help.pd')
-rw-r--r--help/menubutton-help.pd63
1 files changed, 63 insertions, 0 deletions
diff --git a/help/menubutton-help.pd b/help/menubutton-help.pd
new file mode 100644
index 0000000..6566476
--- /dev/null
+++ b/help/menubutton-help.pd
@@ -0,0 +1,63 @@
+#N canvas 1323 101 834 600 10;
+#X obj 55 365 tof/menubutton 124 25 empty empty 1 #000000 #ffffff #ff0000
+#3a12ff a b c d e f;
+#X msg 92 55 add a b c d e f;
+#X msg 52 11 clear;
+#X msg 142 124 saveitems \$1;
+#X obj 142 96 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X floatatom 208 509 5 0 0 0 - - -;
+#X text 95 10 Clear menu items;
+#X text 196 53 Add menu items;
+#X obj 59 477 r \$0s;
+#X obj 208 538 send \$0r;
+#X text 188 368 [tof/menubutton] creation arguments:;
+#X text 415 373 1: width;
+#X text 415 387 2: height;
+#X text 415 400 3: send name;
+#X text 415 412 4: receive name;
+#X text 168 94 Set the saving of the menu items in the patch. Off by
+default.;
+#X text 313 324 To move the menubutton \, switch to edit mode and draw
+a selection rectangle around it. A blue handle will appear. Drag this
+handle to move the menubutton.;
+#X floatatom 264 243 5 0 0 0 - - -;
+#X obj 54 405 unpack f s;
+#X floatatom 54 428 5 0 0 0 - - -;
+#X symbolatom 113 426 10 0 0 0 - - -;
+#X floatatom 59 544 5 0 0 0 - - -;
+#X symbolatom 116 542 10 0 0 0 - - -;
+#X obj 59 513 unpack f s;
+#X text 304 242 Select and output a menu item;
+#X msg 289 268 set b;
+#X text 338 270 Select an item without outputing it;
+#X msg 308 292 set 2;
+#X text 459 174 values can be tk colors(red \, blue \, etc) or html
+colors (#ffffff);
+#X msg 260 215 colors default;
+#X text 199 147 colors: background foreground highlight contour;
+#X text 415 422 5: save menu items;
+#X text 414 434 6: background color;
+#X text 414 447 7: foreground color;
+#X text 414 458 8: highlight color;
+#X text 413 480 10+: menu items;
+#X text 415 469 9: contour color;
+#X msg 202 170 colors green red orange purple;
+#X msg 222 195 colors #000000 #ffffff #ff0000 #3a12ff;
+#X connect 0 0 18 0;
+#X connect 1 0 0 0;
+#X connect 2 0 0 0;
+#X connect 3 0 0 0;
+#X connect 4 0 3 0;
+#X connect 5 0 9 0;
+#X connect 8 0 23 0;
+#X connect 17 0 0 0;
+#X connect 18 0 19 0;
+#X connect 18 1 20 0;
+#X connect 23 0 21 0;
+#X connect 23 1 22 0;
+#X connect 25 0 0 0;
+#X connect 27 0 0 0;
+#X connect 29 0 0 0;
+#X connect 37 0 0 0;
+#X connect 38 0 0 0;