[Gridflow-cvs] [svn] commit: r5258 - /trunk/doc/flow_classes/#io.x11-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Mar 31 19:36:13 EDT 2010


Author: matju
Date: Wed Mar 31 19:36:12 2010
New Revision: 5258

Log:
add several missing entries

Modified:
    trunk/doc/flow_classes/#io.x11-help.pd

Modified: trunk/doc/flow_classes/#io.x11-help.pd
==============================================================================
--- trunk/doc/flow_classes/#io.x11-help.pd (original)
+++ trunk/doc/flow_classes/#io.x11-help.pd Wed Mar 31 19:36:12 2010
@@ -1,4 +1,4 @@
-#N canvas 633 21 632 642 10;
+#N canvas 522 22 632 652 10;
 #X obj 0 0 doc_h;
 #X obj 3 618 doc_c 0..;
 #X msg 40 648 open x11;
@@ -27,26 +27,21 @@
 OS \, the OS comes with a X11 server \, but it may be on a "bundled
 software" CD.;
 #X msg 37 794 open x11 display foo.org:0;
-#X obj 3 854 doc_i 1;
-#X obj 14 884 doc_ii 0;
-#X obj 97 906 doc_m i0 grid;
-#X text 232 906 with [#out] \, displays a frame;
-#X obj 97 884 doc_m i0 bang;
-#X text 232 884 with [#in] \, captures a frame;
-#X obj 97 970 doc_m i0 out_size;
-#X text 232 970 \$1=height \$2=width. changes the window's size \,
+#X obj 3 857 doc_i 1;
+#X obj 14 887 doc_ii 0;
+#X text 232 909 with [#out] \, displays a frame;
+#X text 232 887 with [#in] \, captures a frame;
+#X text 232 1158 \$1=height \$2=width. changes the window's size \,
 just like sending a grid dim(height \, width \, 3) would. this affects
 the size of screen captures too.;
-#X obj 97 1038 doc_m i0 setcursor;
-#X text 232 1038 \$1=cursor_id. \$1=cursor_id. Selects one of the 64
+#X text 232 1228 \$1=cursor_id. \$1=cursor_id. Selects one of the 64
 predefined cursors of X11. (Note that if your cursor table has them
 numbered from 0 to 126 using only even numbers \, then those cursor
 numbers are all doubled compared to the ones GridFlow uses.);
-#X obj 97 928 doc_m i0 hidecursor;
-#X text 232 928 This makes the cursor invisible.;
-#X obj 3 2021 doc_also;
-#X obj 103 2021 #io.quartz;
-#X obj 175 2021 #io.sdl;
+#X text 232 1114 This makes the cursor invisible.;
+#X obj 3 2293 doc_also;
+#X obj 103 2293 #io.quartz;
+#X obj 175 2293 #io.sdl;
 #X text 141 227 Destroying the object (or sending "close") should close
 the window.;
 #X obj 35 65 #out x11;
@@ -56,49 +51,40 @@
 yourself \, but IIRC this could be fixed.;
 #X text 140 330 only one window may be used per x11 connection (to
 simplify matters \; this doesn't reduce flexibility).;
-#X obj 3 1202 doc_o 1;
-#X obj 14 1232 doc_oo 0;
-#X obj 97 1232 doc_m o0 grid;
-#X text 232 1232 grid(rows columns rgb);
-#X obj 97 1533 doc_m o0 position;
-#X text 232 1533 \$1=y \$2=x \$3=buttons;
-#X text 232 1555 This is emitted every time the cursor moves inside
+#X obj 3 1474 doc_o 1;
+#X obj 14 1504 doc_oo 0;
+#X text 232 1504 grid(rows columns rgb);
+#X obj 97 1805 doc_m o0 position;
+#X text 232 1805 \$1=y \$2=x \$3=buttons;
+#X text 232 1827 This is emitted every time the cursor moves inside
 the window connected to this format handler. This is also emitted when
 the cursor is dragging from inside to outside the window. This is also
 emitted when a mouse button is pressed.;
-#X text 232 1629 The y and x coordinates are relative to the upper
+#X text 232 1901 The y and x coordinates are relative to the upper
 right corner of the window. Specific button states may be extracted
 from the button value by applying [>> buttonnumber] and then checking
 whether the result is odd.;
-#X text 232 1690 0: Shift;
-#X text 232 1712 1: Caps Lock;
-#X text 232 1734 2: Control;
-#X text 232 1756 3: Alternate;
-#X text 232 1778 4: NumLock;
-#X text 232 1800 5: (unknown);
-#X text 232 1822 6: Meta or Window Key;
-#X text 232 1844 7: Scroll Lock;
-#X text 232 1866 8: Left Mouse Button;
-#X text 232 1888 9: Middle Mouse Button or Mouse Wheel Click;
-#X text 232 1910 10: Right Mouse Button;
-#X text 232 1932 11: Wheel Up;
-#X text 232 1954 12: Wheel Down;
-#X text 232 1976 NOTE: This message form may become longer in the future
+#X text 232 1962 0: Shift;
+#X text 232 1984 1: Caps Lock;
+#X text 232 2006 2: Control;
+#X text 232 2028 3: Alternate;
+#X text 232 2050 4: NumLock;
+#X text 232 2072 5: (unknown);
+#X text 232 2094 6: Meta or Window Key;
+#X text 232 2116 7: Scroll Lock;
+#X text 232 2138 8: Left Mouse Button;
+#X text 232 2160 9: Middle Mouse Button or Mouse Wheel Click;
+#X text 232 2182 10: Right Mouse Button;
+#X text 232 2204 11: Wheel Up;
+#X text 232 2226 12: Wheel Down;
+#X text 232 2248 NOTE: This message form may become longer in the future
 \, but the already defined parts will stay the same.;
-#X obj 97 1328 doc_m o0 keypress;
-#X obj 97 1463 doc_m o0 keyrelease;
-#X text 232 1328 \$1=y \$2=x \$3=buttons \$4=keyname;
-#X text 232 1463 \$1=y \$2=x \$3=buttons \$4=keyname;
-#X text 232 1485 Same as keypress but when a key gets released instead.
+#X text 232 1600 \$1=y \$2=x \$3=buttons \$4=keyname;
+#X text 232 1735 \$1=y \$2=x \$3=buttons \$4=keyname;
+#X text 232 1757 Same as keypress but when a key gets released instead.
 NOTE: This message form may become longer in the future \, but the
 already defined parts will stay the same.;
-#X obj 0 2041 doc_f;
-#X obj 97 950 doc_m i0 move;
-#X obj 97 1112 doc_m i0 shared_memory;
-#X obj 97 1172 doc_m i0 xvideo;
-#X obj 97 1132 doc_m i0 title;
-#X obj 97 1152 doc_m i0 warp;
-#X obj 97 1018 doc_m i0 set_geometry;
+#X obj 0 2313 doc_f;
 #X text 208 795 other syntax for 'remote'.;
 #X text 141 480 there is one last argument that may be added to every
 "open" message of [#in x11]. if you don't put it \, a new toplevel
@@ -110,50 +96,103 @@
 also for [#out x11]. it's a bug);
 #X msg 38 824 open x11 here override_redirect;
 #X text 237 823 if you need borderless untouchable windows.;
-#X text 140 377 then you can add override_redirect option to open a
+#X text 141 377 then you can add override_redirect option to open a
 window that will not be handled by the window manager \, so that it
 doesn't have any borders \, for example. however \, this is "dangerous"
 \, as you can lock yourself out of your computer. On Linux you can
 escape that using Ctrl+Alt+F1 or similar. Another problem is that it
 prevents the window from getting 'keypress' 'keyrelease' events.;
-#X text 232 1350 This is emitted when a keyboard key is pressed while
+#X text 232 1622 This is emitted when a keyboard key is pressed while
 this format handler's window is active. Keynames follow the X11 standard
 \, similarly to PureData's [keyname] object. The only exception is
 that keynames that are digits get prefixed by a capital D so that they
 don't get mistaken for actual numbers. NOTE: This message form may
 become longer in the future \, but the already defined parts will stay
 the same.;
-#X text 232 1254 Resizes the window to the size of the grid \; Encodes
+#X text 232 1526 Resizes the window to the size of the grid \; Encodes
 that grid in the display's pixel format \; Also displays it if autodraw
 is greater than 0 \; The values must be in range 0-255 \, or else they
 will be "wrapped".;
-#X connect 16 1 17 0;
-#X connect 18 1 19 0;
-#X connect 20 1 21 0;
-#X connect 22 1 23 0;
-#X connect 24 1 25 0;
-#X connect 26 1 27 0;
-#X connect 26 1 28 0;
-#X connect 35 1 36 0;
-#X connect 35 1 73 0;
-#X connect 37 1 38 0;
-#X connect 37 1 39 0;
-#X connect 37 1 40 0;
-#X connect 37 1 41 0;
-#X connect 37 1 42 0;
-#X connect 37 1 43 0;
-#X connect 37 1 44 0;
-#X connect 37 1 45 0;
-#X connect 37 1 46 0;
-#X connect 37 1 47 0;
-#X connect 37 1 48 0;
-#X connect 37 1 49 0;
-#X connect 37 1 50 0;
-#X connect 37 1 51 0;
-#X connect 37 1 52 0;
-#X connect 37 1 53 0;
-#X connect 37 1 54 0;
-#X connect 55 1 57 0;
-#X connect 55 1 72 0;
-#X connect 56 1 58 0;
-#X connect 56 1 59 0;
+#X text 232 1136 move the window to the position \$1=y \$2=x;
+#X obj 97 909 doc_m i0 grid;
+#X obj 97 887 doc_m i0 bang;
+#X obj 97 1158 doc_m i0 out_size;
+#X obj 97 1228 doc_m i0 setcursor;
+#X obj 97 1114 doc_m i0 hidecursor;
+#X obj 97 1504 doc_m o0 grid;
+#X obj 97 1600 doc_m o0 keypress;
+#X obj 97 1735 doc_m o0 keyrelease;
+#X obj 97 1136 doc_m i0 move;
+#X obj 97 1302 doc_m i0 shared_memory;
+#X obj 97 1442 doc_m i0 xvideo;
+#X obj 97 1359 doc_m i0 title;
+#X obj 97 1420 doc_m i0 warp;
+#X obj 97 1206 doc_m i0 set_geometry;
+#X text 232 1206 does: out_size \$1 \$2 \, move \$3 \$4;
+#X text 232 1359 puts the symbol \$1 in the titlebar instead of the
+default GridFlow (240 \, 320 \, 3)" or similar). if title is an empty
+string \, the title goes back to the default mode of writing "GridFlow"
+and the window size.;
+#X text 232 1420 moves mouse cursor to location y=\$1 x=\$2. use sparingly.
+;
+#X text 232 1442 for future use.;
+#X text 232 1302 0: don't use explicit shared memory for sending to
+the video card.;
+#X text 232 1337 1: use shared memory if available.;
+#X obj 97 931 doc_m i0 border;
+#X text 232 931 0: hide window border. this does not work in Apple
+X11. It may or may not work on Linux X11 (or other X11 servers) depending
+on the window manager. This was tested on GNOME/Metacity.;
+#X text 232 992 1: show window border (default);
+#X text 232 1014 this option is not the same as override_redirect \,
+because it asks the window manager to not put the border \, while still
+managing the window otherwise. thus \, for example \, Metacity still
+allows Alt+Button1 and Alt+Tab to affect that window \, which is not
+the case with override_redirect. Also \, border is different \, as
+this setting can be changed while the window exists.;
+#X text 229 2293 [#see];
+#X text 277 2293 [gf/mouse_spy];
+#X obj 373 2293 #mouse;
+#X connect 21 1 22 0;
+#X connect 21 1 23 0;
+#X connect 21 1 85 0;
+#X connect 21 1 86 0;
+#X connect 21 1 87 0;
+#X connect 31 1 32 0;
+#X connect 31 1 33 0;
+#X connect 31 1 34 0;
+#X connect 31 1 35 0;
+#X connect 31 1 36 0;
+#X connect 31 1 37 0;
+#X connect 31 1 38 0;
+#X connect 31 1 39 0;
+#X connect 31 1 40 0;
+#X connect 31 1 41 0;
+#X connect 31 1 42 0;
+#X connect 31 1 43 0;
+#X connect 31 1 44 0;
+#X connect 31 1 45 0;
+#X connect 31 1 46 0;
+#X connect 31 1 47 0;
+#X connect 31 1 48 0;
+#X connect 61 1 16 0;
+#X connect 62 1 17 0;
+#X connect 63 1 18 0;
+#X connect 64 1 19 0;
+#X connect 65 1 20 0;
+#X connect 66 1 30 0;
+#X connect 66 1 59 0;
+#X connect 67 1 49 0;
+#X connect 67 1 58 0;
+#X connect 68 1 50 0;
+#X connect 68 1 51 0;
+#X connect 69 1 60 0;
+#X connect 70 1 79 0;
+#X connect 70 1 80 0;
+#X connect 71 1 78 0;
+#X connect 72 1 76 0;
+#X connect 73 1 77 0;
+#X connect 74 1 75 0;
+#X connect 81 1 82 0;
+#X connect 81 1 83 0;
+#X connect 81 1 84 0;



More information about the Gridflow-cvs mailing list