rumai 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/rumai +2 -2
- data/doc/api/apple-touch-icon.png +0 -0
- data/doc/api/classes/IO.html +1 -1
- data/doc/api/classes/Integer.html +6 -6
- data/doc/api/classes/Rumai.html +141 -141
- data/doc/api/classes/Rumai/Area.html +122 -122
- data/doc/api/classes/Rumai/Chain.html +18 -18
- data/doc/api/classes/Rumai/Client.html +420 -122
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +90 -90
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +41 -41
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +6 -6
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +18 -18
- data/doc/api/classes/Rumai/IXP/Fcall.html +30 -30
- data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
- data/doc/api/classes/Rumai/IXP/Stat.html +7 -7
- data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
- data/doc/api/classes/Rumai/IXP/Struct.html +24 -24
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +36 -36
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +12 -12
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +6 -6
- data/doc/api/classes/Rumai/IXP/Terror.html +6 -6
- data/doc/api/classes/Rumai/Node.html +52 -52
- data/doc/api/classes/Rumai/View.html +132 -132
- data/doc/api/classes/String.html +12 -12
- data/doc/api/classes/StringIO.html +1 -1
- data/doc/api/classes/Time.html +12 -12
- data/doc/api/created.rid +1 -1
- data/doc/api/favicon.ico +0 -0
- data/doc/api/files/CREDITS.html +1 -1
- data/doc/api/files/LICENSE.html +1 -1
- data/doc/api/files/lib/rumai/fs_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp_rb.html +1 -1
- data/doc/api/files/lib/rumai/wm_rb.html +1 -1
- data/doc/api/files/lib/rumai_rb.html +1 -1
- data/doc/api/js/searchdoc.js +38 -15
- data/doc/api/panel/index.html +13 -5
- data/doc/api/panel/search_index.js +1 -1
- data/doc/api/panel/tree.js +1 -1
- data/doc/history.erb +79 -2
- data/doc/index.erb +2 -2
- data/doc/index.html +2017 -0
- data/doc/intro.erb +38 -62
- data/doc/setup.erb +53 -2
- data/doc/usage.erb +36 -11
- data/lib/rumai.rb +4 -4
- data/lib/rumai/fs.rb +2 -2
- data/lib/rumai/ixp.rb +2 -2
- data/lib/rumai/ixp/message.rb +2 -2
- data/lib/rumai/ixp/transport.rb +2 -2
- data/lib/rumai/wm.rb +80 -5
- data/rakefile +2 -2
- data/test/rumai/ixp/message.rb +3 -3
- metadata +9 -5
- data/doc/index.xhtml +0 -1078
@@ -57,7 +57,7 @@ column in the managed area.
|
|
57
57
|
<dd>
|
58
58
|
<ul>
|
59
59
|
|
60
|
-
<li><a href="#
|
60
|
+
<li><a href="#M000076"><<</a></li>
|
61
61
|
|
62
62
|
</ul>
|
63
63
|
</dd>
|
@@ -66,15 +66,15 @@ column in the managed area.
|
|
66
66
|
<dd>
|
67
67
|
<ul>
|
68
68
|
|
69
|
-
<li><a href="#
|
69
|
+
<li><a href="#M000068">chain</a>,</li>
|
70
70
|
|
71
71
|
<li><a href="#M000070">client_ids</a>,</li>
|
72
72
|
|
73
|
-
<li><a href="#
|
73
|
+
<li><a href="#M000064">column?</a>,</li>
|
74
74
|
|
75
|
-
<li><a href="#
|
75
|
+
<li><a href="#M000079">concat</a>,</li>
|
76
76
|
|
77
|
-
<li><a href="#
|
77
|
+
<li><a href="#M000066">curr</a></li>
|
78
78
|
|
79
79
|
</ul>
|
80
80
|
</dd>
|
@@ -83,7 +83,7 @@ column in the managed area.
|
|
83
83
|
<dd>
|
84
84
|
<ul>
|
85
85
|
|
86
|
-
<li><a href="#
|
86
|
+
<li><a href="#M000071">each</a>,</li>
|
87
87
|
|
88
88
|
<li><a href="#M000069">exist?</a></li>
|
89
89
|
|
@@ -94,11 +94,11 @@ column in the managed area.
|
|
94
94
|
<dd>
|
95
95
|
<ul>
|
96
96
|
|
97
|
-
<li><a href="#
|
97
|
+
<li><a href="#M000067">floating</a>,</li>
|
98
98
|
|
99
|
-
<li><a href="#
|
99
|
+
<li><a href="#M000063">floating?</a>,</li>
|
100
100
|
|
101
|
-
<li><a href="#
|
101
|
+
<li><a href="#M000073">focus</a></li>
|
102
102
|
|
103
103
|
</ul>
|
104
104
|
</dd>
|
@@ -107,7 +107,7 @@ column in the managed area.
|
|
107
107
|
<dd>
|
108
108
|
<ul>
|
109
109
|
|
110
|
-
<li><a href="#
|
110
|
+
<li><a href="#M000077">insert</a></li>
|
111
111
|
|
112
112
|
</ul>
|
113
113
|
</dd>
|
@@ -116,11 +116,11 @@ column in the managed area.
|
|
116
116
|
<dd>
|
117
117
|
<ul>
|
118
118
|
|
119
|
-
<li><a href="#
|
119
|
+
<li><a href="#M000072">layout=</a>,</li>
|
120
120
|
|
121
|
-
<li><a href="#
|
121
|
+
<li><a href="#M000074">length</a>,</li>
|
122
122
|
|
123
|
-
<li><a href="#
|
123
|
+
<li><a href="#M000080">length=</a></li>
|
124
124
|
|
125
125
|
</ul>
|
126
126
|
</dd>
|
@@ -129,7 +129,7 @@ column in the managed area.
|
|
129
129
|
<dd>
|
130
130
|
<ul>
|
131
131
|
|
132
|
-
<li><a href="#
|
132
|
+
<li><a href="#M000065">managed?</a></li>
|
133
133
|
|
134
134
|
</ul>
|
135
135
|
</dd>
|
@@ -138,7 +138,7 @@ column in the managed area.
|
|
138
138
|
<dd>
|
139
139
|
<ul>
|
140
140
|
|
141
|
-
<li><a href="#
|
141
|
+
<li><a href="#M000062">new</a></li>
|
142
142
|
|
143
143
|
</ul>
|
144
144
|
</dd>
|
@@ -147,7 +147,7 @@ column in the managed area.
|
|
147
147
|
<dd>
|
148
148
|
<ul>
|
149
149
|
|
150
|
-
<li><a href="#
|
150
|
+
<li><a href="#M000075">push</a></li>
|
151
151
|
|
152
152
|
</ul>
|
153
153
|
</dd>
|
@@ -156,7 +156,7 @@ column in the managed area.
|
|
156
156
|
<dd>
|
157
157
|
<ul>
|
158
158
|
|
159
|
-
<li><a href="#
|
159
|
+
<li><a href="#M000078">unshift</a></li>
|
160
160
|
|
161
161
|
</ul>
|
162
162
|
</dd>
|
@@ -170,21 +170,21 @@ column in the managed area.
|
|
170
170
|
|
171
171
|
<li>
|
172
172
|
|
173
|
-
<a href="
|
173
|
+
<a href="../Rumai.html">Rumai</a>
|
174
174
|
|
175
175
|
START:includes
|
176
176
|
</li>
|
177
177
|
|
178
178
|
<li>
|
179
179
|
|
180
|
-
<a href="
|
180
|
+
<a href="../Rumai.html">Rumai</a>
|
181
181
|
|
182
182
|
START:includes
|
183
183
|
</li>
|
184
184
|
|
185
185
|
<li>
|
186
186
|
|
187
|
-
<a href="
|
187
|
+
<a href="../Rumai.html">Rumai</a>
|
188
188
|
|
189
189
|
START:includes
|
190
190
|
</li>
|
@@ -224,9 +224,9 @@ column in the managed area.
|
|
224
224
|
<div class="sectiontitle">Class Public methods</div>
|
225
225
|
|
226
226
|
<div class="method">
|
227
|
-
<div class="title" id="
|
227
|
+
<div class="title" id="M000066">
|
228
228
|
|
229
|
-
<a name="
|
229
|
+
<a name="M000066"></a><b>curr</b>()
|
230
230
|
|
231
231
|
</div>
|
232
232
|
|
@@ -242,13 +242,13 @@ Returns the currently focused area.
|
|
242
242
|
|
243
243
|
<div class="sourcecode">
|
244
244
|
<p class="source-link">
|
245
|
-
Source: <a href="javascript:toggleSource('
|
245
|
+
Source: <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show</a>
|
246
246
|
|
247
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
247
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L513" target="_blank" class="github_url">on GitHub</a>
|
248
248
|
|
249
249
|
</p>
|
250
|
-
<div id="
|
251
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
250
|
+
<div id="M000066_source" class="dyn-source">
|
251
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 513</span>
|
252
252
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
|
253
253
|
<span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span>
|
254
254
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -258,9 +258,9 @@ Returns the currently focused area.
|
|
258
258
|
</div>
|
259
259
|
|
260
260
|
<div class="method">
|
261
|
-
<div class="title" id="
|
261
|
+
<div class="title" id="M000067">
|
262
262
|
|
263
|
-
<a name="
|
263
|
+
<a name="M000067"></a><b>floating</b>(view = View.curr)
|
264
264
|
|
265
265
|
</div>
|
266
266
|
|
@@ -276,13 +276,13 @@ Returns the floating area in the given view.
|
|
276
276
|
|
277
277
|
<div class="sourcecode">
|
278
278
|
<p class="source-link">
|
279
|
-
Source: <a href="javascript:toggleSource('
|
279
|
+
Source: <a href="javascript:toggleSource('M000067_source')" id="l_M000067_source">show</a>
|
280
280
|
|
281
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
281
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L520" target="_blank" class="github_url">on GitHub</a>
|
282
282
|
|
283
283
|
</p>
|
284
|
-
<div id="
|
285
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
284
|
+
<div id="M000067_source" class="dyn-source">
|
285
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 520</span>
|
286
286
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">floating</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
287
287
|
<span class="ruby-identifier">new</span> <span class="ruby-constant">FLOATING_AREA_ID</span>, <span class="ruby-identifier">view</span>
|
288
288
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -292,9 +292,9 @@ Returns the floating area in the given view.
|
|
292
292
|
</div>
|
293
293
|
|
294
294
|
<div class="method">
|
295
|
-
<div class="title" id="
|
295
|
+
<div class="title" id="M000062">
|
296
296
|
|
297
|
-
<a name="
|
297
|
+
<a name="M000062"></a><b>new</b>(area_id, view = View.curr)
|
298
298
|
|
299
299
|
</div>
|
300
300
|
|
@@ -312,13 +312,13 @@ Returns the floating area in the given view.
|
|
312
312
|
|
313
313
|
<div class="sourcecode">
|
314
314
|
<p class="source-link">
|
315
|
-
Source: <a href="javascript:toggleSource('
|
315
|
+
Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
|
316
316
|
|
317
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
317
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L487" target="_blank" class="github_url">on GitHub</a>
|
318
318
|
|
319
319
|
</p>
|
320
|
-
<div id="
|
321
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
320
|
+
<div id="M000062_source" class="dyn-source">
|
321
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 487</span>
|
322
322
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">area_id</span>, <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
|
323
323
|
<span class="ruby-ivar">@id</span> = <span class="ruby-constant">Integer</span>(<span class="ruby-identifier">area_id</span>) <span class="ruby-keyword kw">rescue</span> <span class="ruby-identifier">area_id</span>
|
324
324
|
<span class="ruby-ivar">@view</span> = <span class="ruby-identifier">view</span>
|
@@ -331,15 +331,15 @@ Returns the floating area in the given view.
|
|
331
331
|
<div class="sectiontitle">Instance Public methods</div>
|
332
332
|
|
333
333
|
<div class="method">
|
334
|
-
<div class="title" id="
|
334
|
+
<div class="title" id="M000076">
|
335
335
|
|
336
|
-
<a name="
|
336
|
+
<a name="M000076"></a><b><<</b>(*clients)
|
337
337
|
|
338
338
|
</div>
|
339
339
|
|
340
340
|
<div class="description">
|
341
341
|
<p>
|
342
|
-
Alias for <a href="Area.html#
|
342
|
+
Alias for <a href="Area.html#M000075">push</a>
|
343
343
|
</p>
|
344
344
|
|
345
345
|
</div>
|
@@ -349,9 +349,9 @@ Alias for <a href="Area.html#M000079">push</a>
|
|
349
349
|
</div>
|
350
350
|
|
351
351
|
<div class="method">
|
352
|
-
<div class="title" id="
|
352
|
+
<div class="title" id="M000068">
|
353
353
|
|
354
|
-
<a name="
|
354
|
+
<a name="M000068"></a><b>chain</b>()
|
355
355
|
|
356
356
|
</div>
|
357
357
|
|
@@ -367,13 +367,13 @@ Returns a list of all areas in the current view.
|
|
367
367
|
|
368
368
|
<div class="sourcecode">
|
369
369
|
<p class="source-link">
|
370
|
-
Source: <a href="javascript:toggleSource('
|
370
|
+
Source: <a href="javascript:toggleSource('M000068_source')" id="l_M000068_source">show</a>
|
371
371
|
|
372
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
372
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L529" target="_blank" class="github_url">on GitHub</a>
|
373
373
|
|
374
374
|
</p>
|
375
|
-
<div id="
|
376
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
375
|
+
<div id="M000068_source" class="dyn-source">
|
376
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 529</span>
|
377
377
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
378
378
|
<span class="ruby-ivar">@view</span>.<span class="ruby-identifier">areas</span>
|
379
379
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -403,11 +403,11 @@ Returns the IDs of the clients in this area.
|
|
403
403
|
<p class="source-link">
|
404
404
|
Source: <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">show</a>
|
405
405
|
|
406
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
406
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L545" target="_blank" class="github_url">on GitHub</a>
|
407
407
|
|
408
408
|
</p>
|
409
409
|
<div id="M000070_source" class="dyn-source">
|
410
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
410
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 545</span>
|
411
411
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
|
412
412
|
<span class="ruby-ivar">@view</span>.<span class="ruby-identifier">client_ids</span> <span class="ruby-ivar">@id</span>
|
413
413
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -417,9 +417,9 @@ Returns the IDs of the clients in this area.
|
|
417
417
|
</div>
|
418
418
|
|
419
419
|
<div class="method">
|
420
|
-
<div class="title" id="
|
420
|
+
<div class="title" id="M000064">
|
421
421
|
|
422
|
-
<a name="
|
422
|
+
<a name="M000064"></a><b>column?</b>()
|
423
423
|
|
424
424
|
</div>
|
425
425
|
|
@@ -434,7 +434,7 @@ Checks if this is a managed area (a column).
|
|
434
434
|
<div class="aka">
|
435
435
|
This method is also aliased as
|
436
436
|
|
437
|
-
<a href="Area.html#
|
437
|
+
<a href="Area.html#M000065">managed?</a>
|
438
438
|
|
439
439
|
</div>
|
440
440
|
|
@@ -442,13 +442,13 @@ Checks if this is a managed area (a column).
|
|
442
442
|
|
443
443
|
<div class="sourcecode">
|
444
444
|
<p class="source-link">
|
445
|
-
Source: <a href="javascript:toggleSource('
|
445
|
+
Source: <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show</a>
|
446
446
|
|
447
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
447
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L502" target="_blank" class="github_url">on GitHub</a>
|
448
448
|
|
449
449
|
</p>
|
450
|
-
<div id="
|
451
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
450
|
+
<div id="M000064_source" class="dyn-source">
|
451
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 502</span>
|
452
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column?</span>
|
453
453
|
<span class="ruby-keyword kw">not</span> <span class="ruby-identifier">floating?</span>
|
454
454
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -458,9 +458,9 @@ Checks if this is a managed area (a column).
|
|
458
458
|
</div>
|
459
459
|
|
460
460
|
<div class="method">
|
461
|
-
<div class="title" id="
|
461
|
+
<div class="title" id="M000079">
|
462
462
|
|
463
|
-
<a name="
|
463
|
+
<a name="M000079"></a><b>concat</b>(area)
|
464
464
|
|
465
465
|
</div>
|
466
466
|
|
@@ -476,13 +476,13 @@ Concatenates the given area to the bottom of this area.
|
|
476
476
|
|
477
477
|
<div class="sourcecode">
|
478
478
|
<p class="source-link">
|
479
|
-
Source: <a href="javascript:toggleSource('
|
479
|
+
Source: <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show</a>
|
480
480
|
|
481
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
481
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L635" target="_blank" class="github_url">on GitHub</a>
|
482
482
|
|
483
483
|
</p>
|
484
|
-
<div id="
|
485
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
484
|
+
<div id="M000079_source" class="dyn-source">
|
485
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 635</span>
|
486
486
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concat</span> <span class="ruby-identifier">area</span>
|
487
487
|
<span class="ruby-identifier">push</span> <span class="ruby-identifier">area</span>.<span class="ruby-identifier">clients</span>
|
488
488
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -492,9 +492,9 @@ Concatenates the given area to the bottom of this area.
|
|
492
492
|
</div>
|
493
493
|
|
494
494
|
<div class="method">
|
495
|
-
<div class="title" id="
|
495
|
+
<div class="title" id="M000071">
|
496
496
|
|
497
|
-
<a name="
|
497
|
+
<a name="M000071"></a><b>each</b>(&block)
|
498
498
|
|
499
499
|
</div>
|
500
500
|
|
@@ -510,13 +510,13 @@ Iterates through each client in this container.
|
|
510
510
|
|
511
511
|
<div class="sourcecode">
|
512
512
|
<p class="source-link">
|
513
|
-
Source: <a href="javascript:toggleSource('
|
513
|
+
Source: <a href="javascript:toggleSource('M000071_source')" id="l_M000071_source">show</a>
|
514
514
|
|
515
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
515
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L554" target="_blank" class="github_url">on GitHub</a>
|
516
516
|
|
517
517
|
</p>
|
518
|
-
<div id="
|
519
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
518
|
+
<div id="M000071_source" class="dyn-source">
|
519
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 554</span>
|
520
520
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>
|
521
521
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
522
522
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -546,11 +546,11 @@ Checks if this object exists in the chain.
|
|
546
546
|
<p class="source-link">
|
547
547
|
Source: <a href="javascript:toggleSource('M000069_source')" id="l_M000069_source">show</a>
|
548
548
|
|
549
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
549
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L536" target="_blank" class="github_url">on GitHub</a>
|
550
550
|
|
551
551
|
</p>
|
552
552
|
<div id="M000069_source" class="dyn-source">
|
553
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
553
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 536</span>
|
554
554
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exist?</span>
|
555
555
|
<span class="ruby-identifier">chain</span>.<span class="ruby-identifier">include?</span> <span class="ruby-keyword kw">self</span>
|
556
556
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -560,9 +560,9 @@ Checks if this object exists in the chain.
|
|
560
560
|
</div>
|
561
561
|
|
562
562
|
<div class="method">
|
563
|
-
<div class="title" id="
|
563
|
+
<div class="title" id="M000063">
|
564
564
|
|
565
|
-
<a name="
|
565
|
+
<a name="M000063"></a><b>floating?</b>()
|
566
566
|
|
567
567
|
</div>
|
568
568
|
|
@@ -578,13 +578,13 @@ Checks if this area is the floating area.
|
|
578
578
|
|
579
579
|
<div class="sourcecode">
|
580
580
|
<p class="source-link">
|
581
|
-
Source: <a href="javascript:toggleSource('
|
581
|
+
Source: <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show</a>
|
582
582
|
|
583
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
583
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L495" target="_blank" class="github_url">on GitHub</a>
|
584
584
|
|
585
585
|
</p>
|
586
|
-
<div id="
|
587
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
586
|
+
<div id="M000063_source" class="dyn-source">
|
587
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 495</span>
|
588
588
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">floating?</span>
|
589
589
|
<span class="ruby-ivar">@id</span> <span class="ruby-operator">==</span> <span class="ruby-constant">FLOATING_AREA_ID</span>
|
590
590
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -594,9 +594,9 @@ Checks if this area is the floating area.
|
|
594
594
|
</div>
|
595
595
|
|
596
596
|
<div class="method">
|
597
|
-
<div class="title" id="
|
597
|
+
<div class="title" id="M000073">
|
598
598
|
|
599
|
-
<a name="
|
599
|
+
<a name="M000073"></a><b>focus</b>()
|
600
600
|
|
601
601
|
</div>
|
602
602
|
|
@@ -612,13 +612,13 @@ Puts focus on this area.
|
|
612
612
|
|
613
613
|
<div class="sourcecode">
|
614
614
|
<p class="source-link">
|
615
|
-
Source: <a href="javascript:toggleSource('
|
615
|
+
Source: <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show</a>
|
616
616
|
|
617
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
617
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L570" target="_blank" class="github_url">on GitHub</a>
|
618
618
|
|
619
619
|
</p>
|
620
|
-
<div id="
|
621
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
620
|
+
<div id="M000073_source" class="dyn-source">
|
621
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 570</span>
|
622
622
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span>
|
623
623
|
<span class="ruby-ivar">@view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"select #{@id}"</span>
|
624
624
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -628,9 +628,9 @@ Puts focus on this area.
|
|
628
628
|
</div>
|
629
629
|
|
630
630
|
<div class="method">
|
631
|
-
<div class="title" id="
|
631
|
+
<div class="title" id="M000077">
|
632
632
|
|
633
|
-
<a name="
|
633
|
+
<a name="M000077"></a><b>insert</b>(*clients)
|
634
634
|
|
635
635
|
</div>
|
636
636
|
|
@@ -646,13 +646,13 @@ Inserts the given clients after the currently focused client in this area.
|
|
646
646
|
|
647
647
|
<div class="sourcecode">
|
648
648
|
<p class="source-link">
|
649
|
-
Source: <a href="javascript:toggleSource('
|
649
|
+
Source: <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show</a>
|
650
650
|
|
651
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
651
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L606" target="_blank" class="github_url">on GitHub</a>
|
652
652
|
|
653
653
|
</p>
|
654
|
-
<div id="
|
655
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
654
|
+
<div id="M000077_source" class="dyn-source">
|
655
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 606</span>
|
656
656
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
|
657
657
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
|
658
658
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
|
@@ -667,9 +667,9 @@ Inserts the given clients after the currently focused client in this area.
|
|
667
667
|
</div>
|
668
668
|
|
669
669
|
<div class="method">
|
670
|
-
<div class="title" id="
|
670
|
+
<div class="title" id="M000072">
|
671
671
|
|
672
|
-
<a name="
|
672
|
+
<a name="M000072"></a><b>layout=</b>(mode)
|
673
673
|
|
674
674
|
</div>
|
675
675
|
|
@@ -685,13 +685,13 @@ Sets the layout of clients in this column.
|
|
685
685
|
|
686
686
|
<div class="sourcecode">
|
687
687
|
<p class="source-link">
|
688
|
-
Source: <a href="javascript:toggleSource('
|
688
|
+
Source: <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show</a>
|
689
689
|
|
690
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
690
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L561" target="_blank" class="github_url">on GitHub</a>
|
691
691
|
|
692
692
|
</p>
|
693
|
-
<div id="
|
694
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
693
|
+
<div id="M000072_source" class="dyn-source">
|
694
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 561</span>
|
695
695
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">layout=</span> <span class="ruby-identifier">mode</span>
|
696
696
|
<span class="ruby-ivar">@view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"colmode #{@id} #{mode}"</span>
|
697
697
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -701,9 +701,9 @@ Sets the layout of clients in this column.
|
|
701
701
|
</div>
|
702
702
|
|
703
703
|
<div class="method">
|
704
|
-
<div class="title" id="
|
704
|
+
<div class="title" id="M000074">
|
705
705
|
|
706
|
-
<a name="
|
706
|
+
<a name="M000074"></a><b>length</b>()
|
707
707
|
|
708
708
|
</div>
|
709
709
|
|
@@ -719,13 +719,13 @@ Returns the number of clients in this area.
|
|
719
719
|
|
720
720
|
<div class="sourcecode">
|
721
721
|
<p class="source-link">
|
722
|
-
Source: <a href="javascript:toggleSource('
|
722
|
+
Source: <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show</a>
|
723
723
|
|
724
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
724
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L579" target="_blank" class="github_url">on GitHub</a>
|
725
725
|
|
726
726
|
</p>
|
727
|
-
<div id="
|
728
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
727
|
+
<div id="M000074_source" class="dyn-source">
|
728
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 579</span>
|
729
729
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
|
730
730
|
<span class="ruby-identifier">client_ids</span>.<span class="ruby-identifier">length</span>
|
731
731
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -735,9 +735,9 @@ Returns the number of clients in this area.
|
|
735
735
|
</div>
|
736
736
|
|
737
737
|
<div class="method">
|
738
|
-
<div class="title" id="
|
738
|
+
<div class="title" id="M000080">
|
739
739
|
|
740
|
-
<a name="
|
740
|
+
<a name="M000080"></a><b>length=</b>(max_clients)
|
741
741
|
|
742
742
|
</div>
|
743
743
|
|
@@ -757,13 +757,13 @@ are evicted and from which deficit clients are imported.
|
|
757
757
|
|
758
758
|
<div class="sourcecode">
|
759
759
|
<p class="source-link">
|
760
|
-
Source: <a href="javascript:toggleSource('
|
760
|
+
Source: <a href="javascript:toggleSource('M000080_source')" id="l_M000080_source">show</a>
|
761
761
|
|
762
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
762
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L645" target="_blank" class="github_url">on GitHub</a>
|
763
763
|
|
764
764
|
</p>
|
765
|
-
<div id="
|
766
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
765
|
+
<div id="M000080_source" class="dyn-source">
|
766
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 645</span>
|
767
767
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length=</span> <span class="ruby-identifier">max_clients</span>
|
768
768
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">max_clients</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
769
769
|
<span class="ruby-identifier">len</span>, <span class="ruby-identifier">out</span> = <span class="ruby-identifier">length</span>, <span class="ruby-identifier">fringe</span>
|
@@ -786,15 +786,15 @@ are evicted and from which deficit clients are imported.
|
|
786
786
|
</div>
|
787
787
|
|
788
788
|
<div class="method">
|
789
|
-
<div class="title" id="
|
789
|
+
<div class="title" id="M000065">
|
790
790
|
|
791
|
-
<a name="
|
791
|
+
<a name="M000065"></a><b>managed?</b>()
|
792
792
|
|
793
793
|
</div>
|
794
794
|
|
795
795
|
<div class="description">
|
796
796
|
<p>
|
797
|
-
Alias for <a href="Area.html#
|
797
|
+
Alias for <a href="Area.html#M000064">column?</a>
|
798
798
|
</p>
|
799
799
|
|
800
800
|
</div>
|
@@ -804,9 +804,9 @@ Alias for <a href="Area.html#M000063">column?</a>
|
|
804
804
|
</div>
|
805
805
|
|
806
806
|
<div class="method">
|
807
|
-
<div class="title" id="
|
807
|
+
<div class="title" id="M000075">
|
808
808
|
|
809
|
-
<a name="
|
809
|
+
<a name="M000075"></a><b>push</b>(*clients)
|
810
810
|
|
811
811
|
</div>
|
812
812
|
|
@@ -821,7 +821,7 @@ Inserts the given clients at the bottom of this area.
|
|
821
821
|
<div class="aka">
|
822
822
|
This method is also aliased as
|
823
823
|
|
824
|
-
<a href="Area.html#
|
824
|
+
<a href="Area.html#M000076"><<</a>
|
825
825
|
|
826
826
|
</div>
|
827
827
|
|
@@ -829,13 +829,13 @@ Inserts the given clients at the bottom of this area.
|
|
829
829
|
|
830
830
|
<div class="sourcecode">
|
831
831
|
<p class="source-link">
|
832
|
-
Source: <a href="javascript:toggleSource('
|
832
|
+
Source: <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show</a>
|
833
833
|
|
834
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
834
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L586" target="_blank" class="github_url">on GitHub</a>
|
835
835
|
|
836
836
|
</p>
|
837
|
-
<div id="
|
838
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
837
|
+
<div id="M000075_source" class="dyn-source">
|
838
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 586</span>
|
839
839
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
|
840
840
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
|
841
841
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
|
@@ -855,9 +855,9 @@ Inserts the given clients at the bottom of this area.
|
|
855
855
|
</div>
|
856
856
|
|
857
857
|
<div class="method">
|
858
|
-
<div class="title" id="
|
858
|
+
<div class="title" id="M000078">
|
859
859
|
|
860
|
-
<a name="
|
860
|
+
<a name="M000078"></a><b>unshift</b>(*clients)
|
861
861
|
|
862
862
|
</div>
|
863
863
|
|
@@ -873,13 +873,13 @@ Inserts the given clients at the top of this area.
|
|
873
873
|
|
874
874
|
<div class="sourcecode">
|
875
875
|
<p class="source-link">
|
876
|
-
Source: <a href="javascript:toggleSource('
|
876
|
+
Source: <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show</a>
|
877
877
|
|
878
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
878
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L618" target="_blank" class="github_url">on GitHub</a>
|
879
879
|
|
880
880
|
</p>
|
881
|
-
<div id="
|
882
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
881
|
+
<div id="M000078_source" class="dyn-source">
|
882
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 618</span>
|
883
883
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unshift</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
|
884
884
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
|
885
885
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
|